Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vcron won't run a particular job
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
milothurston
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 231
Location: Oxford, England.

PostPosted: Wed Sep 25, 2002 9:21 am    Post subject: vcron won't run a particular job Reply with quote

I have been experiencing a problem with gentoo 1.2 and 1.4, using vcron.
I wrote a script that backs up all of my partitions to hdb1 each night, with dump. However, cron refuses to run it. I have tried:

- An entry in /etc/crontab, followed by "crontab /etc/crontab" and restarting vcron.
- An entry in /etc/cron.d, and vcron restart.
- A script in /etc/cron.daily, and vcron restart.

The script never runs - I don't get any notification from cron by mail, and /etc/dumpdates is never updated. However, the script runs from the command line, and works perfectly from cron on my Red Hat systems.
Can anyone suggest what the problem might be?
Thanks,
Milo.
Back to top
View user's profile Send private message
Mpemba Effect
Apprentice
Apprentice


Joined: 18 Sep 2002
Posts: 156

PostPosted: Wed Sep 25, 2002 9:00 pm    Post subject: Reply with quote

Did you do

rc-update add vcron default
Back to top
View user's profile Send private message
milothurston
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 231
Location: Oxford, England.

PostPosted: Thu Sep 26, 2002 9:24 am    Post subject: Reply with quote

Quote:

Did you do

rc-update add vcron default?


Of course.
I found that the reason I was not getting updates was a typo in /etc/mail/local-host-names that meant that cron was not sending me any mail. This doesn't explain the lack of updates to /etc/dumpdates, though. However, It actually ran last night, and this will hopefully keep up with any luck.
Thanks,
Milo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum