Skip to content
SoftwareSolutions.net
Glossary

Cron job

A cron job is a scheduled task that runs automatically at set times, such as every night for a backup.

Definition

Cron is a scheduler on Unix-like systems that runs commands at times defined by a schedule expression. Many hosting providers offer a similar scheduler in their control panels.

Use cron jobs for backups, email digests, clean-up and reports. Log their output so failures are noticed quickly.

Make scheduled tasks safe to run twice, because schedulers sometimes retry.