Plugins
300 140

Imagine an alarm clock.

You set the alarm and tell it, "Ring every day at 7 AM." And it rings.

A cron job is like an alarm clock, but for the server.

You don't ring the alarm yourself; you tell the server, "Hey, server, wake up and run this little task every day (week, month) at a specific time."

Simple real-life examples:

"Every Sunday at 3 AM, back up all my photos" is a cron job.

"Every day at 6 AM, check if my website is down" is a cron job.

"Send sensor data to the server every minute" is a cron job.

"Once a month, on the 1st, email me a financial report" is a cron job.

Cron is a task scheduler. It's used to automatically perform routine actions without your intervention.

Just remember: if something on your computer needs to be done regularly, not just once, then use cron.

Category: Basics
Back to Wiki

We use cookies to improve the functioning of the site and its interaction with users. By continuing to use the site, you consent to the use of cookies (find out more).

You can always disable cookies in your browser settings.