[Novalug] weekly cron job
Mike Shade
mshade@mshade.org
Wed Jan 2 21:40:53 EST 2008
You can drop an executable script in /etc/cron.weekly (to have it
executed by cron run-parts) or put it in a user's crontab (can be root).
Use:
crontab -e
to edit the current user's crontab. Enter the following to have it run
at 12:00AM on Mondays, for example:
0 0 * * 1 /path/to/foo.sh
For reference, here are the columns:
* * * * * command to be executed
- - - - -
| | | | |
| | | | +----- day of week (0 - 6) (Sunday=0)
| | | +------- month (1 - 12)
| | +--------- day of month (1 - 31)
| +----------- hour (0 - 23)
+------------- min (0 - 59)
Jay Hart wrote:
> What do I need to do, from a configuration standpoint, to get a weekly cron
> job running? Opensuse 10.2.
>
> Jay Hart
>
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug
>
More information about the Novalug
mailing list