[distcc] distccd in cron issue

Martin Pool mbp at samba.org
Wed Nov 13 15:39:01 GMT 2002


On 13 Nov 2002, Shane McDaniel <shanem at ll.mit.edu> wrote:
> 
> Should have just waited and included this in the previous mail.
> 
> What I did was make a script file
> 
> #!/bin/tcsh
> 
> /home/shanem/bin/distccd
> 
> and I executed that script from my crontab.  I don't know if there's a
> better method but this works.

I think you can also put a line like this in your crontab:

 PATH=/home/shanem/bin:/usr/local/bin:/usr/bin:/bin/:.....

Running it from cron is quite a creative way to make sure it gets
restarted if necessary.

-- 
Martin



More information about the distcc mailing list