Empty the crontab i...
 

Empty the crontab in UNIX

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

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
Reply
1 Reply
Avatar of admin
Posts: 77
 admin
Admin
Topic starter
(@mjv119gmail-com)
Estimable Member
Joined: 9 years ago

Below command is working as expected.

crontab -r

It removes all the entries from the crontab.

Reply

Leave a reply

Author Name

Author Email

Title *

Preview 0 Revisions Saved
Share: