Automating Tasks with Cron Jobs

Learn how to automate tasks using cron jobs on Linux.

  1. Edit crontab:
crontab -e
  1. Add a daily backup job:
0 2 * * * /path/to/backup.sh
  1. List current jobs:
crontab -l
  1. Remove all jobs:
crontab -r

Read more: Cron Documentation