How to empty the crontab in UNIX

Home Questions How to empty the crontab in UNIX

This topic contains 1 reply, has 2 voices, and was last updated by   2 years, 3 months ago.

  • Author
    Posts
  • #6656 Reply

    admin
    Keymaster
    Offline
    Topics: 65
    Replies: 65

    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

  • #6738 Reply

    admin
    Keymaster
    Offline
    Topics: 65
    Replies: 65

    Try this,

    crontab -r

    It removes all the entries from the crontab.

Reply To: How to empty the crontab in UNIX

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Your information: