Trần Thu Hằng
Member
How do I schedule a cron job?
Answer
Cron Jobs Examples
Answer
Cron Jobs Examples
- Run a command at 15:00 on every day from Monday through Friday: 0 15 * * 1-5 command.
- Run a script every 5 minutes and redirected the standard output to dev null , only the standard error will be sent to the specified e-mail address:
[email protected]
*/5 * * * * /path/to/script.sh > /dev/null.