The Wise Operator
← Dictionary

Cron Job

A scheduled task that runs automatically at a set time or interval, like a recurring alarm for your software.


buildingworkflow

What It Is

A cron job is a task that your system runs on a schedule without you pressing a button. The name comes from “cron,” a Unix scheduling utility that has been around for decades. You define the schedule using a simple pattern (every day at 9 AM, every Monday at midnight, every 5 minutes) and the system handles execution. In modern platforms, cron jobs can trigger serverless functions, n8n workflows, or API calls. They are the backbone of any automated system that needs to do something on a regular cadence rather than in response to a user action.

Why It Matters

Cron jobs are what turn a manual process into an automated one. If you are building a daily AI digest, a cron job is what triggers the pipeline every morning. If you need to clean up stale data, sync information between services, or check for new content to process, a cron job handles the scheduling. Without cron jobs, someone would need to manually trigger every recurring task. Understanding cron scheduling is essential for any operator who wants to build systems that work while they sleep.

In Practice

In n8n, you add a “Schedule Trigger” node and set it to fire daily at 8 AM. In Vercel, you configure a cron job in your vercel.json file that calls a serverless function on a schedule. The cron expression “0 9 * * *” means “at 9:00 AM every day.” Most platforms offer visual schedule builders so you do not need to memorize the cron syntax, but knowing the concept is what matters.