Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
hi,
i tried backup from one disk to another via rsync script, but then i decided to do via download schedule from the web interface.
i wanted to delete the cronjob for rsync-script, before i removed editcron.sh
but unfortunately i used command crontab -r and now also the two cronjobs that was there before are deleted.
anyone know how to restore them ?
thx
Offline
Try running
$ crontab /var/spool/cron/crontabs/root
Then
$ crontab -l
to see if this restored your original crontab
Offline
Since the crontab file is saved in RAM, it needs to be recreated at each startup.
You should be able to re-boot your DNS-323 and the default crontab will be restored.
Offline
hm, this doesn't work:
/ # crontab /var/spool/cron/crontabs/root
crontab: can't open '/var/spool/cron/crontabs/root': No such file or directory
crontab: user root cannot read /var/spool/cron/crontabs/root
/ #
ok, next one i try is restart (sounds too easy although, eh?)
:-)
Last edited by bjoernB (2009-08-08 23:07:14)
Offline
which version of firmware are you running?
Offline
mig wrote:
Since the crontab file is saved in RAM, it needs to be recreated at each startup.
You should be able to re-boot your DNS-323 and the default crontab will be restored.
thx, that did work
Current Firmware Version : 1.07
Firmware Date : 03/27/2009
Last edited by bjoernB (2009-08-08 23:12:24)
Offline
Your welcome ![]()
I was trying to find where in the startup scripts the original crontab was setup,
but I could not find that. I'm not sure exactly what script sets the crontab.
I was looking at FW v1.08.
Last edited by mig (2009-08-08 23:19:57)
Offline
Hi,
I am trying to save entries into crontab but have them there parmenanrly, is that possible?
Is there a file that I can edit to add my entries? I usually do crontab -e to edit.
Thanks
Offline
Take a look at this thread on how to edit the crontab at startup: http://dns323.kood.org/forum/viewtopic. … 7199#p7199
Offline