Loophook
Search…
Cron
Cron follows the standard syntax and can be passed as a string to the cron variable in task.
1
# β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ minute (0 - 59)
2
# β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ hour (0 - 23)
3
# β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the month (1 - 31)
4
# β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ month (1 - 12)
5
# β”‚ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ day of the week (0 - 6) (Sunday to Saturday;
6
# β”‚ β”‚ β”‚ β”‚ β”‚ 7 is also Sunday on some systems)
7
# β”‚ β”‚ β”‚ β”‚ β”‚
8
# β”‚ β”‚ β”‚ β”‚ β”‚
9
# * * * * * <command to execute>
Copied!

Some Examples

Execute a task every minute: * * * * *
Execute a task every 2 hours 35 minutes: 35 2 * * *
​
Copy link
Contents