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 2010-02-08 18:18:28

pixma
New member
From: Canada
Registered: 2010-02-03
Posts: 4

Help on using cron ??

I'm trying to setup crond.h and cronjobs.sh running. I made the two files according to the cron howto page on the DNS-323 wiki page: http://dns323.kood.org/howto:cron.

But when I try to start the scrips, I get the following message:

Code:

:/# sh /ffp/start/crond.sh start
: not foundcrond.sh: line 2:
: not foundcrond.sh: line 5:
/ffp/start/crond.sh: .: line 6: can't open /ffp/etc/ffp.subr

:/# sh /ffp/start/cronjobs.sh start
: not foundcronjobs.sh: line 2:
: not foundcronjobs.sh: line 5:
/ffp/start/cronjobs.sh: .: line 6: can't open /ffp/etc/ffp.subr

I then tried setting up the scripts to run on boot with the chmod a+x flag, but after rebooting the DNS, I get the following lines in the ffp.log file:

Code:

* Running /ffp/etc/fun_plug.init ...
* Running /ffp/etc/rc ...
rcorder: requirement `LOGIN
' in file `/ffp/start/cronjobs.sh' has no providers.
rcorder: requirement `LOGIN
' in file `/ffp/start/crond.sh' has no providers.

I'm a newbie in Linux and shell scripting. There wasn't any extra help info on the cron howto page. Can somesone tell me what I'm doing wrong, and how i can set up con to work on my DNS-323.

Thank you.


Pixma -- DNS-323 H/W=B1 F/W=1.09 FFP=0.5 HDD=WD Caviar Black WD1001FALS (1TB, SATA 3.0Gb/s, 32MB, 7200RPM)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB