D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-325 => Topic started by: pouda21 on August 16, 2013, 12:27:17 PM

Title: Add a new line on crontab -e
Post by: pouda21 on August 16, 2013, 12:27:17 PM
Hi Guys !!  ;D ;D

I just bought the Dlink DNS 325 for the remote backup functionality and surprise !! it's not working with my actual web storage provider .... so my idea is to add a new job on crontab -e with a nice rsync etc...
but when i tried to move in i got these nice characters when i push arrows on my keyboard...

(http://img11.hostingpics.net/pics/428672cron.png)

in yellow

so i found the way of adding a new line in by this command line

Code: [Select]
crontab -l > file; echo '59 23 * * * /mnt/HD/HD_a2/Nas_Prog/rsynctoOLS.sh' >> file; crontab file
but it's not working because when i restart the nas, the crontab list is reset to default and unfortunatly without my settings


do you know how can i fix this problem ?

thx for your help and sorry for my poor english.. ;D
Title: Re: Add a new line on crontab -e
Post by: priitv8 on August 17, 2013, 01:59:39 PM
I'm using FFP's startup script to amend the config files that get restored from Flash media on every reboot.
Title: Re: Add a new line on crontab -e
Post by: pouda21 on August 17, 2013, 11:34:20 PM
Hi,

ok it could be a solution... but where can i find this startup script on the NAS filesystem ?

Thx in advance..

Bye
Title: Re: Add a new line on crontab -e
Post by: priitv8 on August 18, 2013, 12:26:14 PM
Code: [Select]
/ffp/etc/fun_plug.init is a systemwide script
Code: [Select]
/ffp/etc/fun_plug.local you can create as your personal script
Title: Re: Add a new line on crontab -e
Post by: pouda21 on August 18, 2013, 09:40:28 PM
Hi !

I'm probably idiot but i'm not able to find this folder /ffp/etc/ at root level on the filesystem.... do i need to create /install something ?

Thx for your help and enjoy the day
Title: Re: Add a new line on crontab -e
Post by: japa-fi on August 19, 2013, 12:13:30 PM
Have a look at this thread:
http://forums.dlink.com/index.php?topic=46532.0 (http://forums.dlink.com/index.php?topic=46532.0)
Title: Re: Add a new line on crontab -e
Post by: priitv8 on August 20, 2013, 06:08:59 AM
/ffp at root level is a symlink. In reality FFP resides in
Code: [Select]
/mnt/HD/HD_xx/ffp