Crontab Tutorial

When your logged in to your server you can use program cron using the following commands:

  • crontab -l
    Lists the current cron jobs
  • crontab -e
    Edit your current crontab file and ad/remove/edit crontab tasks.
  • crontab -r
    Remove the crontab file.
  • crontab -v
    Displays the last time you edited your crontab file.

The crontab file – components of crontab

When you enter the edit mode (crontab -e) and start adding tasks to your cron file you need to consider the following syntax:

About Damon Luong

San Jose, California
This entry was posted in My Linux. Bookmark the permalink.