Clone
1
Scheduled-Tasks
Jonathan Miller edited this page 2026-06-08 09:02:29 +00:00
Table of Contents
Scheduled Tasks
MokoSuiteBackup 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 "MokoSuiteBackup: 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 MokoSuiteBackup: 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 > MokoSuiteBackup > Backup Records — backup details and logs
- Email — if notifications are configured on the profile