1
Scheduled Tasks
Jonathan Miller edited this page 2026-06-02 19:02:26 -05:00

Scheduled Tasks

MokoJoomBackup integrates with Joomla's built-in Scheduled Tasks system (com_scheduler, Joomla 4.1+).

How It Works

The plg_task_mokobackup plugin registers a task type called "MokoJoomBackup: Run Backup Profile". You create one or more scheduled tasks, each selecting a different backup profile and running on its own schedule.

Creating a Scheduled Task

  1. Go to System > Scheduled Tasks
  2. Click New
  3. Select MokoJoomBackup: Run Backup Profile
  4. Configure:
    • Title: e.g. "Daily Full Backup"
    • Backup Profile: Select from published profiles
    • Execution Rule: Set the schedule
  5. Save

Example Setup

Task Profile Schedule
Daily Full Backup Default Backup Profile Daily at 02:00
Hourly DB Backup Database Only Profile Every hour
Weekly Files Archive Files Only Profile Weekly on Sunday
Daily Differential Differential Profile Daily at 06:00

Cron Requirement

# System cron (recommended)
* * * * * php /path/to/joomla/cli/joomla.php scheduler:run --all

Task Status

Check results in:

  • System > Scheduled Tasks — last run status
  • Components > MokoJoomBackup > Backup Records — backup details and logs
  • Email — if notifications are configured on the profile