Use crontab -l to view or crontab -e to edit.
minute | hour | day of month | month | day of week | command
30 13 * * * /usr/test.sh
to not send email
30 13 * * * /usr/test.sh > /dev/null 2>&1
*Note:
If you are having problems with your cron jobs not running correctly make sure you have the environment variables set. The profile does not get sourced.
You can put . /home/user/.bash_profile in your script to load your bash environment.
cron jobs
Who is online
Users browsing this forum: No registered users and 1 guest