How to delete total content from crontab

login to the server

su – username

crontab -e

esc:%d

 

Note: if you need to delete total content(all lines) from crontab first taken backup and then follow the steps

 

Recent Posts

Start typing and press Enter to search