crontab Command Examples

Schedule cron jobs to run on a time interval for the current user. More information: https://crontab.guru/.

crontab -e

sudo crontab -e -u {{user}}

crontab {{path/to/file}}

crontab -l

crontab -r

0 10 * * * {{command_to_execute}}

*/10 * * * * {{command_to_execute}}

30 2 * * Fri {{/absolute/path/to/script.sh}}