Results 1 to 2 of 2

Thread: cannot edit crontab anymore

  1. #1
    Join Date
    Feb 2010
    Location
    Italy
    Beans
    177
    Distro
    Lubuntu 12.04 Precise Pangolin

    cannot edit crontab anymore

    Hello,

    I was playing around cron and the following command
    Code:
    crontab -e
    worked fine I think.
    Then I installed gnome-schedule and didn't like it too much ..
    so I removed it and run again
    Code:
    crontab -e
    but nothing was shown, while I had a default crontab file before
    and then I noticed that the above command opened a temporary file instead like
    Code:
    File: /tmp/crontab.UHzZnP/crontab
    I tried to edit it with nano, but when I save it of course nothing is changed on my system because its a temporary file.

    I searched for /etc/cron.allow or /etc/cron.deny but they don't exist.
    What can be changed installing gnome-schedule and how can I turn my system back in order to be able to use crontab -e again?

    Thank you for any suggestion
    Last edited by tanoloco; September 18th, 2012 at 08:03 AM.

  2. #2
    Join Date
    May 2009
    Location
    México
    Beans
    320
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: cannot edit crontab anymore

    What happens if you type this command?

    Code:
    sudo /etc/init.d/cron restart
    http://rukiaenix.blogspot.com

    I never really envision the finish of anything that I start. It's risk that fascinates, the moment of infinite possibility.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •