[distcc] distccd in cron issue
Martin Pool
mbp at samba.org
Thu Nov 14 02:20:00 GMT 2002
On 13 Nov 2002, Shane McDaniel <shanem at ll.mit.edu> wrote:
> > 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.
>
> It makes it easier given the fact that distccd dies if it's port is in
> use. So you don't have to worry about spawning a bunch of extra
> processes.
Yes, that's good.
Incidentally, you don't need a '&' at the end of the crontab line,
because distccd detaches from the shell after starting up. It might
also be slightly more robust to specify --daemon, though if it works
for you without it there's no need to change.
--
Martin
More information about the distcc
mailing list