Crontab syntax taken from guide:
* * * * * command
│ │ │ │ │
│ │ │ │ └─── day of week (0 - 6) (0 = Sunday, 6 = Saturday)
│ │ │ └──────── month (1 - 12)
│ │ └───────────── day of month (1 - 31)
│ └────────────────── hour (0 - 23)
└─────────────────────── min (0 - 59)
List crontab:
$ crontab -l
Edit crontab:
$ crontab -e
To open crontab with a preferred editor like nano
:
$ EDITOR=nano crontab -e
Remove crontab:
$ crontab -r