noun
Cron job (from 'chronos', Greek for time)
A cron job is a time-based job scheduler in Unix-like operating systems that allows you to automate repetitive tasks, such as database backups, log cleaning, or sending emails.
It works by using a crontab (cron table) file, where you define the schedule and command to execute. The syntax includes five fields: minute, hour, day of the month, month, and day of the week, followed by the command.
For web administrators, cron jobs simplify maintenance by automating routine tasks, reducing manual intervention. For example, a website might use a cron job to back up its database every night at 2 AM, ensuring data is protected without requiring human action. However, poorly configured cron jobs can consume server resources or fail if dependencies are missing.
A web host might set a cron job to delete temporary files every Sunday at 3 AM to free up disk space.
In other languages
See also: backup