There are three options when removing Cron Jobs. The first is that the entire Crontab can be deleted will erase all Cron Jobs. The second is that the Crontab can be edited to remove the line that contains the Cron Job. The third option is editing the Crontab to comment out the line that contains the Cron Job, leaving the Cron Job there for use later if necessary.
to edit the Crontab. To exit the Crontab at any time (in case a mistake is made) simply press the Esc key and then type :q! and press ENTER to quit without(!) saving.
Or to delete a Cron Job from the Crontab altogether, make sure that the cursor is at the very beginning of the Cron Job line that is to be removed and type dd by pressing the d key twice. This should remove the entire line.
To save your changes, press the Esc key and then type :x and press ENTER to exit and save changes.
The Crontab should update.
Next, check the Crontab by typing crontab -l (lowercased L) and pressing ENTER to list the Crontab. The line(s) removed should no longer be listed in the Crontab.
and press ENTER to remove or delete the entire Crontab.
to list the crontab and verify that all Cron Jobs have been removed.