crontab

View Users Cronjob
Use the following syntax to view waqleh user's cronjob:

crontab -u waqleh -l
View Root User Cronjob
Just type the following command:

crontab -l
This should list the contents of the crontab script.

View /etc/crontab
A cronjob can be also run from /etc/crontab file. To view it, enter:

less /etc/crontab
Remove all cron jobs
If and only if you want to stop all cron jobs, you can remove them entirely with:

crontab -r
This removes the entire crontab file so be careful if you've got other cron jobs listed in there!

Remove specific cron job(s)
Open the cron file and delete the cron(s) that you want to remove

crontab -e
each line represent a cron job. You can remove any cron by using ctrl+k then save and exit

原文地址:https://www.cnblogs.com/buxizhizhoum/p/12074195.html