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.
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:
0 2 * * * /usr/bin/backup.sh
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.