Cron jobs can be managed using the cru command in Tomato. cru identifies cron jobs based on a unique id, a string label (not sure about allowed characters) that can be chosen for each job.
- Listing existing cron jobs:
cru l
This lists all existing jobs, printing the timing settings, the comand, and finally the label in the form#<unique_id># - Adding a cron job:
cru a <unique_id> "<min> <hour> <day> <month> <weekday> <command>"
Specification of the scheduled run time generally follows crontab syntax.weekdayspecifies the day of the week; 1 stands for Monday, 2 for Tuesday, etc. Sunday can be encoded as 0 or 7. - Deleting a cron job:
cru d <unique_id>
Sources
- Tomato FAQ: How can I add a cron job?
- Wikipedia: cron (contains a good overview over the crontab syntax)
- Details