[Q] Cron frustration.....

Finn Blucher finn at finerdetails.com.au
Mon Oct 21 08:56:59 EST 2002


Doesn't crond run as root, so ~ will be root's home directory not the user
donovan's?

Finn.


----- Original Message -----
From: "Donovan J. Edye" <d.edye at bigfoot.com>
To: "Linux List" <linux at lists.samba.org>
Sent: Sunday, October 20, 2002 2:37 PM
Subject: [Q] Cron frustration.....


> G'Day,
>
> I am sure this is simple one, but for the life of me I cannot see why this
> won't work. I have the following:
>
> donovan at moe:~/seti$ ls -al setia*
> lrwxrwxrwx    1 donovan  donovan        19 Oct 14 19:57 setiathome ->
> /usr/bin/setiathome
>
> and a crontab entry of:
>
> # Attempt to start SETI every 5 mins. If already running this will be
> ignored
> 2,7,12,17,22,27,32,37,42,47,52,57 * * * * cd ~/seti; ./setiathome -nice
> 19 -proxy 192.168.40.10:5517
>
> Now I see the following in syslog:
>
> Oct 20 14:37:01 moe /USR/SBIN/CRON[16974]: (donovan) CMD (cd ~/seti;
> ./setiathome -nice 19 -proxy 192.168.40.10:5517)
>
> However the process never appears to start. Running it from the command
line
> (using the above shell commands works fine)
>
> How can I debug this?
>
> TIA
>
> -- Donovan
> ----------------------------------------------------------------------
> E-Mail: d.edye at bigfoot.com Web: www.edye.wattle.id.au/
> "If I throw a stick will you go away?"
> "Very funny Scotty. Now beam down my pants!"
> ----------------------------------------------------------------------
> GXExplorer - Freeware Delphi Windows Explorer Replacement
> and Delphi Components www.gxexplorer.org
> ----------------------------------------------------------------------
>
>
>




More information about the linux mailing list