Skip to content

Cron Jobs

The Cron Jobs page allows administrators to view, create, and manage scheduled system tasks.

Cron Jobs Interface

Overview

URL: /admin/cron-jobs

This page displays a table of all configured cron jobs with the following columns:

  • Schedule - The cron expression defining when the job runs. The next scheduled execution time is displayed below the expression.
  • Command - The system command that will be executed.
  • User - The system user that runs the command.

Actions

Each cron job has the following action buttons:

  • Edit - Opens the edit form for the cron job.
  • Delete - Permanently removes the cron job. A confirmation prompt is displayed before deletion.

The search bar filters results across the Schedule, Command, and User columns.

Pagination

Results per page can be set to: 5, 10, 25, 50, or All.

Creating a Cron Job

Click the Create Cron Job button to open the creation form.

Create Cron Job

Schedule Preset

A dropdown with common schedule presets:

PresetCron Expression
Custom (use fields below)Manual input
Once Per Minute* * * * *
Every 5 Minutes*/5 * * * *
Every 15 Minutes*/15 * * * *
Every 30 Minutes*/30 * * * *
Once Per Hour0 * * * *
Every 2 Hours0 */2 * * *
Every 6 Hours0 */6 * * *
Once Per Day0 0 * * *
Once Per Day at Noon0 12 * * *
Once Per Week0 0 * * 0
Once Per Month0 0 1 * *

Cron Expression

(required) - The cron schedule expression. When selecting a preset, this field is automatically populated. When using "Custom", enter the expression manually.

The cron syntax follows the standard five-field format:

FieldRange
Minute0-59
Hour0-23
Day of month1-31
Month1-12
Day of week0-7 (0 and 7 = Sunday)

Command Template

A dropdown with common command templates:

  • Run PHP Script - pre-fills a PHP execution command
  • Call Webhook - pre-fills a curl command
  • Custom Command... - allows entering any command manually

Command to Execute

(required) - The full system command to run at the scheduled time.

Run As User

(required) - The system user that will execute the command (e.g., root).

Buttons

  • Create - Save the cron job.
  • Create & create another - Save and reopen the form for adding more jobs.
  • Cancel - Close the form without saving.

Editing a Cron Job

Clicking Edit on any cron job opens the same form with pre-filled values. After making changes, click Save changes to apply.