Skip to content

The cron daemon in the system

The cron daemon wakes every minute, reads each user's crontab, and launches the jobs whose time matches, on behalf of the owning user.

graph LR
  T[Tick each minute] --> C[cron daemon]
  C --> R[Read /var/spool/cron/*]
  R --> M{Match now?}
  M -->|No| S[Sleep]
  M -->|Yes| E[Execute job as user]
  E --> L[Log to syslog]
  L --> S
  style C fill:#E8F5E9
  style E fill:#FFF3E0