Tuesday, 28 February 2012
The 'at' command basically executes a command at a specified time, surprisingly useful if you need to print something at 3pm and you're useless at remembering stuff..
The Below command will run the jobtodo script at 15:00
at -m 15:00 < jobtodo.sh
at -l - this will list all jobs scheduled
atrm 3 - this will remove job 3 from the list
To be honest if you want something that will run every day your better off looking at crontab. But if you after something quick and simple this will do just nicely. I use this command at work for running scripts at set times of the day, that way I wont forget.