Scheduling & Database Backups
WireConsole makes recurring cron schedules and SQL database snapshots visible and safe to operate from the admin workspace.
1. Scheduled Cron Tasks (./scheduling/)
Section titled “1. Scheduled Cron Tasks (./scheduling/)”- View every registered
Taskclass insite/schedule/(including module tasks likeAccountPruneTask,ExpireCharterHoldsTask,ContactsRetentionTask, andPruneAiUsageLogsTask) with exact cron expressions and next-run timestamps. - Run All Currently Due Tasks (
schedule:run) or execute a single named task immediately viaConsoleRuntime::runScheduledTasks(). - Scaffold new scheduled task classes directly into
site/schedule/.
2. SQL Database Backups (./backup/)
Section titled “2. SQL Database Backups (./backup/)”- Create Database Snapshot: Generates a timestamped
.sqldump insite/assets/backups/database/via ProcessWire’s nativeWireDatabaseBackupwith an optional description. - Retention & Restore Policy: Purge snapshots older than N days (
purgeBackups()) and keep Automatically create a safety backup before restoring any SQL file enabled when runningrestoreBackup(). - Superuser-Only Downloads & Restores: Downloading (
./download-backup/) and restoring.sqldumps strictly require an authenticatedsuperuserwith$config->demodisabled.