One More ? Regarding at
ive looked through man and the net. can the at command be used to schedule a job more then once? or is it a one time only? what if i want to schedule a job to run every hour for the next 24 hours? i couldnt see how to use at for this, but at seems like it should be the way to go.
|
Have you checked cron?
|
A little knowledge of vi may help...
crontab -e <press a to go to edit mode> 0 * * * * /path/to/your/program <type [ESC],[:wq]> Then your program will run every hour man 5 crontab for more infos |
cron will be what i use next, but im trying to understand all that the at command can do.
|
As proud and cedrik already suggested, cron is better suited for repetitive tasks.
If you anyway insist using at, nothing forbids to reschedule the next execution from within you at job. |
All times are GMT -5. The time now is 09:56 AM. |