Skip to content
HomeKnowledge BaseStatisticsChangelog GitHub Discord Email
commands / demyx cron

No results for ""

demyx cron

Usage

bash
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

CommandFrequencyTasks
demyx cron dailyDailySystem backup, WordPress backups, auto-updates, log rotation
demyx cron five-minuteEvery 5 minApp healthcheck, load healthcheck
demyx cron hourlyHourlyDisk healthcheck
demyx cron minuteEvery minuteExecutes custom minute script (if exists)
demyx cron six-hourEvery 6 hoursExecutes custom six-hour script (if exists)
demyx cron weeklyWeeklySystem updates

Examples

bash
# Manually run the daily cron (backups, updates)
demyx cron daily

# Immediately run healthchecks
demyx cron five-minute

# Run the disk check now
demyx cron hourly

Custom Cron Scripts

You can add custom scripts to each cron interval. See the Developer: Custom Cron article for details.

Viewing Cron Logs

bash
demyx log cron
  • demyx log cron — view cron execution history
  • demyx healthcheck — run healthchecks manually