C

Cron

Cron is a task scheduling tool on Unix/Linux systems, which allows you to automatically execute commands or scripts at specific times or at regular intervals.

Cron is a task planning tool on Unix/Linux systems, which allows for the automatic execution of commands or scripts at specific times or at regular intervals.

The tasks are defined in files called crontabswhere one specifies minute, hour, day, month and day of the week for each command to be executed.

Example :
A server can use cron to automatically back up a database every day at 2am.

To remember:

  • Allows theautomation of repetitive tasks.
  • The tasks are defined in a crontab file.
  • Widely used for backups, updates and maintenance on Unix/Linux servers.
  • Syntax: minute heure jour mois jour_semaine commande.