Moodle operations and troubleshooting

Running Moodle day to day: cron and tasks, backups, logs, maintenance, health checks and configuration management.

Setting up Moodle cron to run every minute

Running Moodle's CLI cron reliably: system cron or a scheduler, the PHP user, keeping web cron off, the expected cron frequency warning and running several cron processes on larger sites.

Troubleshooting Moodle ad hoc task backlogs

When notifications, course copies or backups stall: reading the ad hoc task queue and logs, fail delays and resets, long-running tasks, adding runners and finding the plugin that is blocking the queue.

Moodle automated course backups

Configuring automated course backups: schedule, which courses, storage in course areas or a directory, how many to keep, excluding user data and the backup report.

Backing up and restoring a whole Moodle site

Why course backups are not a site backup: backing up the database, moodledata and code together, consistency during backup, restore testing, and recovery time targets for a learning platform.

Moodle log stores and log retention

Managing Moodle's activity logs: the standard log, writing to an external log database, log lifetime, buffer size, the impact of log growth on the database and logs as evidence.

Moodle maintenance mode and CLI admin scripts

The command line tools administrators use for change windows: maintenance mode, upgrades, cache purges, killing sessions, uninstalling plugins from the CLI and deleting courses by shortname.

Managing Moodle settings as code

Keeping Moodle configuration reproducible across test and production: forced settings in config.php, admin presets export and import, the config changes report and promoting changes through environments.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.