neocytrix Posted June 29, 2004 Report Share Posted June 29, 2004 Hello everyone, I want to make a shell script that allows you to enter a time and the program will do a specified action at that time (ex. ping google.com at 5:00) Any ideas on how? -Neocytrix Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 29, 2004 Report Share Posted June 29, 2004 You can use cron to do that. http://www.unixgeeks.org/security/newbie/unix/cron-1.html Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted June 29, 2004 Report Share Posted June 29, 2004 It is "at", not "cron". Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 29, 2004 Report Share Posted June 29, 2004 It is "at", not "cron". what happened to cron? :huh: :mellow: Quote Link to comment Share on other sites More sharing options...
Guest anon Posted June 29, 2004 Report Share Posted June 29, 2004 It is "at", not "cron". what happened to cron? :huh: :mellow: man at Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 29, 2004 Report Share Posted June 29, 2004 dont have it, im on Arch. my bad. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted June 29, 2004 Report Share Posted June 29, 2004 what happened to cron? Cron is still there, but is only for tasks that have to be repeated on a regular basis. If what you want is to execute something only once at a given time of a given day, the the tool you need is "at". Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 29, 2004 Report Share Posted June 29, 2004 what happened to cron? Cron is still there, but is only for tasks that have to be repeated on a regular basis. If what you want is to execute something only once at a given time of a given day, the the tool you need is "at". ok cool thanks :D Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 29, 2004 Author Report Share Posted June 29, 2004 hehe thanks it worked :D Quote Link to comment Share on other sites More sharing options...
neocytrix Posted June 29, 2004 Author Report Share Posted June 29, 2004 When I run it it comes up with the following error: Only UTC timezone is supported. Last token seen: echo Garbled time Any ideas how to fix that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.