Hi guys,
I'm trying to edit my crontab with the -e flag and I'm getting an error:
root@OpenWrt:~# crontab -e
crontab: cannot change dir to /var/spool/cron/crontabs: No such file or directory
The crond has been started with /etc/contabs in mind
root@OpenWrt:~# ps -ef | grep crond
431 root 392 S crond -c /etc/crontabs
The permissions seems right
root@OpenWrt:~# ls -l /etc | grep crontabs
drwxr-xr-x 1 root root 0 Jan 1 21:24 crontabs
root@OpenWrt:~# ls -l /etc/crontabs/
-rw------- 1 root root 0 Jan 1 21:24 root
Since /var is a symlink to /tmp, this /var/spool/cron would be flushed at reboot, am I right ?
I am wondering if the /var/spool/cron is a parameter specified during compilation. Is there a way the developpers could make that path point to a permanent location ?
Thanks for your help, it's greatly appreciated!