Hi all,
I have this problem:
I have installed cron on the foxboard and it works fine; but if i
switch off the board the system loose the crontab saved in
/var/spool/cron/crontabs/.
How can i change that path (ex. instead of /var/spool i would like to
use /mnt/flash).
I tried this solution but it doesn't works:
I wrote a crontab with crontab -e.
I copied the file named root from /var/spool/cron/crontabs/root in
/mnt/flash/root
I wrote a script that copies that file from /mnt/flash to
/var/spool/cron/crontabs and i put the script in /etc/init.d/boottime.
If i switch off the board when in comes up again it doesn't execute
any cronjob; but if i use crontab -l i can see the cronjob.
Thanks all!

Reply via email to