You are not logged in.

#1 2005-08-21 12:31:34

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

cron as user

I've written a little script that I want to be run by a user on a daily basis.

crontab -l

00 22 * * * /home/user/scripts/backup


problem is this job doesn't start unless I manually restart the cron daemon after my user has logged in. I've seen one other person having this problem on the arch forums, but it wasn't resolved as far as I could tell. Any ideas?

Offline

#2 2005-08-21 12:33:22

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: cron as user

same here, its freaking annoying as hell.

Offline

#3 2005-08-21 16:29:04

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: cron as user

start crond via rc.local /  rc.d

only a guess

Offline

#4 2005-08-21 17:42:09

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: cron as user

rc.local didn't work for me  sad

This is the thread I had on this a while back if it helps anyone solve this problem. It looked like crond was trying to send mail via sendmail but godamnit, there is no sendmail program installed or available, and no config files to change it that I could see.

http://bbs.archlinux.org/viewtopic.php? … light=cron

Offline

Board footer

Powered by FluxBB