With scheduled tasks (cronjobs), you can automate commands or scripts to run at specified times or intervals.
1️⃣ Click on the "Create New Task" button
2️⃣ Fill in the following fields:
✅ Enabled? – Check this box to activate the task.
✅ Command: – Enter the command or script to be executed. (See: Entering Commands section)
✅ Description: – Provide a short description for easy identification.
✅ Schedule: – Choose a predefined time interval or use cron style for a custom schedule:
3️⃣ Click the "Save" button
All created cronjobs will appear in an overview list. The icons have the following meanings:
Active cronjob
Inactive cronjob
View command
View scheduled execution time
Edit task
Delete task (with confirmation prompt)
Bulk delete (select multiple tasks before deleting)
Always specify the full path to the script you want to execute!
✅ Running a shell script:
✅ Using system commands with full path:
✅ Running a PHP script via PHP-CLI:
✅ Executing a web script via Lynx browser (may need to be installed):
✅ Executing a web script using wget:
A cron schedule consists of five parameters separated by spaces or tabs:
Examples of cron schedules:
Cron Style | Meaning |
---|---|
* * * * * |
Every minute |
0 0 * * * |
Daily at midnight |
5 * * * * |
At 5 minutes past every hour |
*/15 * * * * |
Every 15 minutes |
0 * 15 * * |
Every hour on the 15th day of the month |
15 20 * * 6 |
Every Saturday at 8:15 PM |
20,30 1 * * 1-5 |
Monday to Friday at 1:20 AM and 1:30 AM |
Simplified Scheduling Keywords:
Keyword | Meaning | Cron Style |
---|---|---|
@reboot |
At system startup | - |
@daily |
Once a day | 0 0 * * * |
@midnight |
Once a day | 0 0 * * * |
@hourly |
Once per hour | 0 * * * * |
@weekly |
Once per week | 0 0 * * 0 |
@monthly |
Once per month | 0 0 1 * * |
@annually |
Once per year | 0 0 1 1 * |
@yearly |
Once per year | 0 0 1 1 * |