Empty the crontab i...
 

Empty the crontab in UNIX

2 Posts
1 Users
0 Likes
1,368 Views
Avatar of admin
(@mjv119gmail-com)
Estimable Member Admin
Joined: 10 years ago
Posts: 79
Topic starter  

Hi all,
I am a beginner in UNIX. I want to how to remove all the content from the crontab.
Please give me the command to remove it. I used below command but it now works. Help me…!

crontab -l | rm

   
ReplyQuote
Avatar of admin
(@mjv119gmail-com)
Estimable Member Admin
Joined: 10 years ago
Posts: 79
Topic starter  

Below command is working as expected.

crontab -r

It removes all the entries from the crontab.

This post was modified 5 years ago by admin

   
ReplyQuote

Leave a reply

Author Name

Author Email

Title *

Preview 0 Revisions Saved
Share: