A cron job is a Linux command used to schedule tasks for future execution. It allows you to automate repetitive tasks, such as sending notifications or running scripts at specific intervals.
On the CronJobs page you can view currently scheduled tasks, create new, edit or delete them.
:::info The TimeZone setting is handy for running scheduled cronjobs in your local timezone. :::
To create a new cronjob click on the 'Create CronJob' button and in the new form set the script to be executed and desired schedule.
The first field allows you to set a predefined schedule:
To edit an existing cronjob, click on the 'Edit' button next to it. This action will open a modal displaying the current cronjob as saved in the crontab file.
To modify the schedule for when the script is executed, update the first part of the script. You can configure the schedule using a tool such as https://crontab.guru/
To alter the script that is executed, modify the part following the cron schedule.
To delete a cronjob, click on the 'Delete' button next to it. This action will open a modal asking you to confirm the deletion.