[Dxspider-support] unattended operation

Bob Nielsen nielsen at oz.net
Sat Apr 6 21:29:00 BST 2002


On Sat, Apr 06, 2002 at 02:04:26PM -0500, Ken Wolff wrote:
> Does anyone have an example of a cron job to automatically start spider
> on boot and restart spider on a crash? I'm running Linux 2.4.8.

Somewhere (in the Spider docs, I think) I came across the following,
which goes into /etc/inittab (not a cron job, but it does the trick):

##Start DXSpider on bootup and respawn it should it crash
DX:23:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" sysop >/dev/tty7

73, Bob N7XY




More information about the Dxspider-support mailing list