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-19 12:50:04

WildFire
Member
Registered: 2009-01-13
Posts: 8

Missing ffp editcron

I'm trying to edt the cron.
i tried via crontab -e but then saw in the forums that i should be using the ffp script

I had .3 installed and removed it and install 0.5 afew days ago. but no editcron
I've reinstalled ffp .5 several times and i'm not getting the editcron.sh file
doing a find / -name editcron.sh and nothing

I've checked the tar from http://www.inreto.de/dns323/fun-plug/0.5/ and can't see it in there.

I was thinking about creating the script using the examples on the foum but it appears to point to CRONTXT=/mnt/HD_a2/crontab.txt which also doesn't exist

what am i doing wrong? have i missed a step somewhere.

Offline

 

#2 2009-01-24 14:27:50

Fevida
Member
From: Eindhoven, Netherlands
Registered: 2008-08-03
Posts: 12

Re: Missing ffp editcron

Same problem here..... I'm missing these files. What could be wrong?

I want to use a cronjob for hellavcr.

Offline

 

#3 2009-01-24 16:15:21

silversurfer
Member
Registered: 2008-07-20
Posts: 95

Re: Missing ffp editcron

WildFire wrote:

I'm trying to edt the cron.
i tried via crontab -e but then saw in the forums that i should be using the ffp script

I had .3 installed and removed it and install 0.5 afew days ago. but no editcron
I've reinstalled ffp .5 several times and i'm not getting the editcron.sh file
doing a find / -name editcron.sh and nothing

I've checked the tar from http://www.inreto.de/dns323/fun-plug/0.5/ and can't see it in there.

I was thinking about creating the script using the examples on the foum but it appears to point to CRONTXT=/mnt/HD_a2/crontab.txt which also doesn't exist

what am i doing wrong? have i missed a step somewhere.

There is no "editcron" script in funplug. Also the file "/mnt/HD_a2/crontab.txt" will be created by a custom written editcron script, so it can't be on your machine if you didn't use that script before. It won't even be there after the script because it is removed at the end.

Here is my script which I use at system start to setup rsync for backup purposes. You just need to remove my sync entries and replace them with something useful that you want to do.
For a description of the fields look here.

Code:

#!/bin/sh

CRONTEXT=/mnt/HD_a2/crontab.txt

#start with existing crontab
/bin/crontab -l > $CRONTEXT

#add sync job for disks at 03:00 o'clock
/bin/echo "00 03 * * 3 /USB/bin/sync-ab" >> $CRONTEXT
/bin/echo "00 03 * * 6 /USB/bin/sync-ab" >> $CRONTEXT

#install new crontab
/bin/crontab $CRONTEXT

#clean up
/bin/rm $CRONTEXT

Last edited by silversurfer (2009-01-24 16:15:46)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB