Crontab not saved at any reboot

Discussion in 'Modding and Customization' started by Burroughs, Oct 9, 2008.

  1. Burroughs

    Burroughs

    Joined:
    Oct 4, 2008
    Messages:
    13
    Likes Received:
    0
    Hi, guys!
    I'm trying to set my AA0 (with Linpus on) up to better fit my needs and I noticed that, everytime I change crontab as a regular user, all my editings are being lost when the system reboots.
    Is anyone who knows how to fix this annoying issue?

    Burroughs.
     
    Burroughs, Oct 9, 2008
    #1
  2. Burroughs

    cpchan

    Joined:
    Sep 22, 2008
    Messages:
    201
    Likes Received:
    0
    I am still look through my system to see where this is modified with no luck so far. A temporary ugly work around is to use something like the following script to edit the crontab:

    Code:
    #!/bin/sh
    sudo chattr -i /var/spool/cron/user
    crontab -e
    sudo chattr +i /var/spool/cron/user
     
    cpchan, Oct 9, 2008
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.