A cron job is a task your server runs on schedule while you sleep: backups at 3am, cleanup at noon, reports on Mondays. Here is what website owners should — and should not — automate.

What cron is (one paragraph) The server's alarm clock: you register a command + a schedule (hourly, daily, weekly); the server executes it. WordPress uses a pseudo-cron internally (wp-cron) for scheduled posts; real cron handles server-level tasks.

The tasks worth automating 1. Database backups (daily, off-server destination) 2. File backups (weekly) 3. Cleanup: old transient data, spam comments purge, log rotation 4. Sitemap regeneration / cache pre-warm for big sites 5. Report emails: weekly summary of usage/errors to yourself

The caution: every cron costs CPU A cron job running every 5 minutes that scans your whole database is a resource leak wearing an automation costume. Rules: schedule heavy tasks at low-traffic hours (3–5am Pakistani time), space them (daily beats hourly when hourly changes nothing), and log their output so runaway loops announce themselves.

The WordPress note wp-cron fires on VISITS (a quirk) — low-traffic sites get delayed schedules. The fix: disable wp-cron and add a real cron hitting wp-cron.php every 15 minutes. Support applies this pattern routinely — ask.

The setup on Kairalmas The portal exposes cron management with the schedule presets; the AI assistant drafts the command lines if the syntax feels alien; version history covers the config files they touch.

Automate the repetitive, schedule the heavy for the quiet hours, and let the server be the employee that never forgets the backup. That is the whole cron story — told in two minutes.