hi guys , i need some help
i want to set cron job for every sunday , of each month so any body plz help or this proble
hi guys , i need some help
i want to set cron job for every sunday , of each month so any body plz help or this proble
" You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow. If that file does not exist, you can use
crontab if your name does not appear in the file /usr/lib/cron/cron.deny.
If only cron.deny exists and is empty, all users can use crontab. If neither file exists, only the root user can use crontab. The allow/deny files consist of one user name per line. "
##############################################################################
# minute (0-59),
# | hour (0-23),
# | | day of the month (1-31),
# | | | month of the year (1-12),
# | | | | day of the week (0-6 with 0=Sunday).
# | | | | | commands
# 3 2 * * 0,6 /some/command/to/run
# 3 2 * * 1-5 /another/command/to/run
so it might look this:
export EDITOR=vi
crontab -e
0 0 * * 6 /run/some/command