From 59a15bf3a5278fbc1a83525c0030d201218ec49c Mon Sep 17 00:00:00 2001 From: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Date: Sat, 9 Jul 2022 16:36:19 +0100 Subject: [PATCH] crontab: refresh (#8182) --- pages/common/crontab.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pages/common/crontab.md b/pages/common/crontab.md index 761f0d45f..fa4742f5f 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}}`