<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
You know, maybe I made this sucker, I have been running DXspider
that long, I honestly don't remember.<br>
<br>
<br>
Here is what is in the script:<br>
<br>
<font color="#663300">#!/bin/sh<br>
#<br>
# Crontab script for DXSpider to verify it's running under FreeBSD<br>
# by WB3FFV <br>
# <br>
<br>
###############################################################<br>
# CONFIGURATION - Set paths to DXSpider Software #<br>
###############################################################<br>
<br>
# Set to DXSpider root directory<br>
DXSPATH=/usr/local/spider/<br>
<br>
# Name of the pid file<br>
DXSPIDF=/usr/local/spider/local/cluster.lck<br>
<br>
# Name of the executable<br>
DXSPROG=perl/cluster.pl<br>
<br>
# Name of process to look for<br>
DXSSRCH=cluster<br>
<br>
# Parameters to pass to the executable<br>
DXSARGS=""<br>
#DXSARGS="-debug"<br>
<br>
###############################################################<br>
# DON'T EDIT ANYTHING BELOW #<br>
###############################################################<br>
<br>
PATH=/bin:/usr/bin:/usr/local/bin<br>
<br>
DXSPID=<br>
<br>
cd $DXSPATH<br>
<br>
if [ -f $DXSPIDF ]<br>
then<br>
DXSPID=`cat $DXSPIDF`<br>
if [ `ps ax| grep $DXSSRCH | grep $DXSPID | grep -v -c
grep` = 1 ]<br>
then<br>
exit<br>
fi<br>
rm -f $DXSPIDF<br>
fi<br>
<br>
./$DXSPROG $DXSARGS</font><br>
<br>
<br>
Maybe I will just do the redirect in the script, as it's served me
well for years, till you drop all of that from stdout..<br>
<br>
73's...<br>
<br>
<pre class="moz-signature" cols="72">---
Howard Leadmon - <a class="moz-txt-link-abbreviated" href="mailto:howard@leadmon.net">howard@leadmon.net</a>
PBW Communications, LLC
<a class="moz-txt-link-freetext" href="http://www.pbwcomm.com">http://www.pbwcomm.com</a>
</pre>
<div class="moz-cite-prefix">On 10/7/2019 7:20 PM, Dirk Koopman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8bf777b2-ae72-24e5-15d3-cbb6b256d474@tobit.co.uk">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">On 07/10/2019 23:22, Howard Leadmon
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2fd13be0-c72f-835c-7422-e65c2b3faab9@leadmon.net">#
Set the path for executing cron jobs<br>
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin<br>
* * * * * /usr/local/sbin/dxspider.chk<br>
<br>
</blockquote>
<br>
<font size="+1"><tt>What's in </tt></font>dxspider.chk? That is
likely to be a shell script. That's probably what you will need to
modify with a >/dev/null 2>&1 . Also sticking it in cron
is what the problem actually is. It will be creating a file of the
console output for the mailer to send to you. If there is no
mailer then that file will just get bigger and bigger.<br>
<br>
This may give you some options as a replacement:<br>
<br>
<a
href="https://forums.freebsd.org/threads/systemd-alternative-on-freebsd.59932/"
moz-do-not-send="true">https://forums.freebsd.org/threads/systemd-alternative-on-freebsd.59932/</a><br>
<br>
But I shall be switching off console output (by default) from all
variants of DXSpider tomorrow and they will be available in git.
I'll put out a message on here when it's done.<br>
<br>
73 Dirk G1TLH<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>