Clone
1
Scheduled Tasks
Jonathan Miller edited this page 2026-06-02 19:02:26 -05:00
Table of Contents
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
- Go to System > Scheduled Tasks
- Click New
- Select MokoJoomBackup: Run Backup Profile
- Configure:
- Title: e.g. "Daily Full Backup"
- Backup Profile: Select from published profiles
- Execution Rule: Set the schedule
- 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