Skip to content

    Cron

    Reading time: 2 min.Editorially reviewed on:

    Definition

    Cron starts recurring programs based on a set schedule on a system.

    Cron is a time-controlled service, mainly in Unix-like environments. A crontab specifies when which commands are executed. Time fields describe minute, hour, and weekday; the process runs with the rights of the respective account.

    Simply explained

    You set an alarm for a program so it independently starts recurring work.

    Why it matters in practice

    Schedules can reliably trigger regular data imports, reports, or backups when execution and errors are monitored.

    Example from business

    Possible example: A server starts an import of approved product data every night and logs the result.

    Limits and pitfalls

    • Time zones, daylight saving time, and a different execution environment can easily cause surprises. A schedule does not guarantee that the started job finishes successfully.

    Origin & history

    Cron belongs to time-based system automation; event-driven processes start due to an occurred event.

    Use in mid-sized companies

    • Teams use unique paths, prevent overlapping runs, and set up notifications for failed or missed executions.

    Frequently asked questions

    Does a job automatically run after a powered-off computer is turned on?

    That depends on the service and configuration; classic Cron offers no general guarantee for this.

    Sources

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice