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-08-13 00:11:37

km991148
New member
Registered: 2009-08-13
Posts: 4

standard cron jobs

Hi,

I have a dns 313 with version 1.03 firmware and fonz's funplug 0.5 (thank fonz!)-

my query is, what are the standard cron jobs on the 313 before the funplug (if any) and what should the be after?

I entered crontab -r and now I "get cannot open 'root' no such file or directory"

I thought that a reboot would solve it, but did not,

thanks for any help,
km

Offline

 

#2 2009-08-14 17:37:58

km991148
New member
Registered: 2009-08-13
Posts: 4

Re: standard cron jobs

does this mean no standard cron jobs?  or is it the funplug that puts them there?

Cheers,
km

Offline

 

#3 2009-08-16 15:57:15

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: standard cron jobs

Hi !

By default, I don't think there is any "standard cron jobs"

You should add yours, with a script like this:

Code:

CRONTEXT=/ffp/tmp/crontab.txt

# Delete current Jobs
/bin/crontab -d

# Add job
/bin/echo "00 13 * * * /bin/sh /mnt/HD_a2/scripts/backup_data.sh" >> $CRONTEXT

# Install new crontab
/bin/crontab $CRONTEXT

# Echo
/bin/echo "Jobs added:"
/bin/echo "`crontab -l`"

#clean up
/bin/rm $CRONTEXT

Last edited by Electrocut (2009-08-16 15:59:55)


DNS-313

Offline

 

#4 2009-08-16 23:11:34

km991148
New member
Registered: 2009-08-13
Posts: 4

Re: standard cron jobs

Hi,

thanks for that info, thats what I figured, before I deleted the crontxt file, there were quite a few jobs in it and not sure where they came from, but everything seems to be working fine - so no point worrying i guess!

thanks again for confirmation,
km

Offline

 

#5 2009-08-26 02:58:57

njoy
Member
Registered: 2008-07-05
Posts: 30

Re: standard cron jobs

Try out my ffp scripts for kicking up cron
http://dns323.kood.org/forum/viewtopic.php?id=4535


DNS-323 - Excellent in many cases.
DNS-313 - Love it, but hate that D-link only prior the DNS-323 development.
DSM-G600 - Noisy, slow, unstable and ugly. I simply hate it so far.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB