Skip to content

Running a Cron Job at 2:00 AM Daily

Advertisement

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

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Leave a Reply

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


Back to top