Skip to content

Running a Cron Job at 2:00 AM Daily

Covers
Cron

Cron jobs (or cron jobs) are schedules that tell the computer to run a program or execute a command automatically at a specified time. This is called a cron job, a daemon that runs in the background and performs tasks on a schedule. Cron is a process that runs in the background and periodically executes programs or tasks. By design, cron is extremely flexible, allowing users to run tasks as often as once a minute or as infrequently as once every 99 weeks. Cron jobs are a common way to automate daily tasks, like sending out marketing emails, running reports, or backing up files.

Schedule crontab 2AM Daily
Schedule a cronjob at 2 AM daily

You can edit the crontab editor by running the crontab -e command and configure your job to run at 02:00 AM daily. For example, to schedule a backup script schedule cron job as below:

Once the cron is scheduled, you can list the configured jobs using the crontab -l command. Hoping this tutorial helps you for scheduling the cron job.

Rahul

Rahul Kumar is the founder and chief editor of TecAdmin.net. A Red Hat Certified Engineer (RHCE), he has worked in IT since 2009, with hands-on experience in Linux system administration, DevOps, web hosting, cloud platforms and automation. He started TecAdmin in 2013 to share practical, step-by-step guides, and leads its editorial work with one aim: making technical learning clear and useful for sysadmins, developers and beginners alike.

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top