[Voyage-linux] crontab not saving
Darryl Ross
(spam-protected)
Mon May 18 16:54:56 HKT 2009
On 18/05/2009 4:22 PM, Darshaka Pathirana wrote:
> On 16.05.2009 17:29, Robert Rawlins - Think Blue wrote:
>> I’m having trouble saving changes to my crontab, I ‘remountrw’ and then
>> use ‘crontab -e’ to make the changes, however it seems that after the
>> system is reboot the changes are no longer available and when doing
>> ‘crontab -l’ I simply get get ‘no crontab install for root’ or something
>> to that effect.
>
> '/root' is by default symlinked to '/rw/root' and therefor
> everything saved in there is just in the ramdisk and will be lost
> after reboot.
You are correct in that the crontabs are saved in the ramdisk, but the
path is actually /var/spool/cron
When you have made a change to the crontab, just rsync /var/spool/cron
to /ro/var/spool/cron.
Regards
Darryl
More information about the Voyage-linux
mailing list