SliTaz SliTaz Forum

You are not logged in.

#1 2013-04-15 22:16:17

alt789
Member
Registered: 2013-04-12
Posts: 5

Cron Jobs...

OK.  I've reviewed most material I can track down but I'm obviously missing something.  I have configured a CRON job that just restarts the machine at any given time.  Created /var/spool/cron/crontabs/* and crond to schedule the job.  The job is listed with crond -l.  The script will run fine manually what am I missing?

Offline

#2 2013-04-15 22:25:48

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: Cron Jobs...

tazpkg get-install fcron ?

(edit  you seem to have it)

Permissions maybe ? I remember messing a short while before getting it to work

do everything including permissions below /var/spoon/cron look as it should ?

Offline

#3 2013-04-16 05:59:43

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Cron Jobs...

# sed -i 's/RUN_DAEMONS="/&crond /' /etc/rcS.conf

or

# /etc/init.d/crond start

try 'crontab -l' and crontab --help' too.

Offline

#4 2013-04-17 02:30:41

alt789
Member
Registered: 2013-04-12
Posts: 5

Re: Cron Jobs...

So, for whatever reason Crond didn't seem to start with a reboot.  Adding crond to /etc/rcS.conf RUN_DAEMONS=  works.  Thanks.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]