commands / demyx cron
No results for ""
demyx cron
Usage
demyx cron <schedule>Description
Demyx has a built-in cron system that runs maintenance tasks on a schedule. These run automatically but can also be triggered manually for testing or immediate execution.
Schedules
| Command | Frequency | Tasks |
|---|---|---|
demyx cron daily | Daily | System backup, WordPress backups, auto-updates, log rotation |
demyx cron five-minute | Every 5 min | App healthcheck, load healthcheck |
demyx cron hourly | Hourly | Disk healthcheck |
demyx cron minute | Every minute | Executes custom minute script (if exists) |
demyx cron six-hour | Every 6 hours | Executes custom six-hour script (if exists) |
demyx cron weekly | Weekly | System updates |
Examples
# Manually run the daily cron (backups, updates)
demyx cron daily
# Immediately run healthchecks
demyx cron five-minute
# Run the disk check now
demyx cron hourlyCustom Cron Scripts
You can add custom scripts to each cron interval. See the Developer: Custom Cron article for details.
Viewing Cron Logs
demyx log cronRelated
demyx log cron— view cron execution historydemyx healthcheck— run healthchecks manually