diff --git a/pages/common/crontab.md b/pages/common/crontab.md index 761f0d45fb..fa4742f5f0 100644 --- a/pages/common/crontab.md +++ b/pages/common/crontab.md @@ -1,8 +1,7 @@ # crontab > Schedule cron jobs to run on a time interval for the current user. -> Job definition format: "(min) (hour) (day_of_month) (month) (day_of_week) command_to_execute". -> More information: . +> More information: . - Edit the crontab file for the current user: @@ -28,10 +27,10 @@ `0 10 * * * {{command_to_execute}}` -- Sample job which runs every minute on the 3rd of April: +- Sample crontab entry, which runs a command every 10 minutes: -`* * 3 Apr * {{command_to_execute}}` +`*/10 * * * * {{command_to_execute}}` -- Sample job which runs a certain script at 02:30 every Friday: +- Sample crontab entry, which runs a certain script at 02:30 every Friday: `30 2 * * Fri {{/absolute/path/to/script.sh}}`