New Cronjob
To create a new cronjob, you have to specify date and time of the run as
well as the name of the program to run.
Minute:
Enter a number in the range of 0 and 59.
Hour:
Enter a number in the range of 0 and 23.
Day of Month:
Enter a number in the range of 1 and 31.
Month:
Enter a number in the range of 1 and 12.
Day of Week:
Enter a number in the range of 0 and 7. The following mappings apply:
0 = 7 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, etc.
Command:
Enter the command with its exact path.
Further Advice:
In each input field you may use ranges, lists, wildcards and omissions.
- Range: If you specify a range like 8-11 in the input box
"Hour", the program will be run at 8, 9, 10 and 11 o'clock.
- List: You can separate numbers by commas. If you enter 8,10,12
in the input box "Hour", the program will be run at 8, 10 and 12
o'clock.
- Wildcard: The operator * is a wildcard for each allowed value
of that input box. A * in the input box "Hour" would be the same as 0-23
and a * in the input box "Month" would be the same as 1-12.
- Omission: The operator /x can be used in combination with
ranges and wildcards to skip a given number of values. For example,
*/2 in the input box "Month" is equivalent to 1,3,5,7,9,11 and 0-6/3 in
the input box "Hour" is equivalent to 0,3,6.
Example:
Minute: | 15 |
Hour: | */4 |
Day of Month: | 1,15 |
Month: | * |
Day of Week: | 5 |
Command: | /home/username/bin/program |
The command /home/username/bin/program will be run at the 1. and 15. of
every month and additionally every friday. The time of day will be 0:15,
4:15, 8:15, ..., 20:15.