DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-02 23:53:42

unmesh
Member
Registered: 2008-03-26
Posts: 55

Editing cron entries

I have a DSN323 v1.06 with ffp0.5 installed. I also installed the scripts to use Rsync to implement Time Machine like backup functionality on a daily basis. I now want to change the frequency that rsync runs but don't seem to be able to edit the cron table.

The cron jobs are as follows:

# crontab -l
32 2 * * * /usr/sbin/rtc -s
30 2 2 * * /usr/sbin/rtc -c
59 1 * * * /usr/sbin/daylight &
0 2 * * * /ffp/bin/snapshot.sh

When I try to edit the crontab using:

# crontab -e

the same contents show up in what I looks like a vi window but the last line, instead of showing the pathname to the file, shows
a continually highlighted/refreshed message that says

last_modifying_command overrun

I can't do a :q or control-C to get out of this and have to close the telnet window and relogin.

How do I get past this?

Thanks.


DNS-323 FW1.10B7 WD20EARS_2TB Samsung_HD753LG_750G FFP_0.5
DNS-321 FW1.03  FFP_0.7 (Spare enclosure)
DNS-320 FW2.02 Hitachi_HDS5C3020ALA632_2TB Hitachi_HDS721010KLA330_1TB FFP_0.5

Offline

 

#2 2009-01-06 15:17:13

cybrey
Member
Registered: 2007-11-08
Posts: 24

Re: Editing cron entries

In /mnt/HD_a2/ffp/start theres an editcron.sh, edit it and reboot the NAS. ( the path may be different on your NAS).

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB