<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Can anyone else confirm this.  I have in tasks.cfg, something like so :-<br><br>[xxx_refresh]<br>        ENVFILE /apps/xymon/server/etc/xymonserver.cfg<br>        CMD /apps/scripts/xxx_refresh.sh<br>
        LOGFILE $XYMONSERVERLOGS/xxx_refresh.log<br>        CRONDATE 15 8-18 * * 1-5<br><br></div>What I deduce by adding echo statements to xxx_refresh.sh, is that if this shell script completes in less than 60 seconds, xymonlaunch runs it a second time :-<br>
<br>grep Running xxx_refresh.log<br>Running as pid 10044 at Mon Jun  2 08:15:03 BST 2014<br>Running as pid 29168 at Mon Jun  2 09:15:04 BST 2014<br>Running as pid 15931 at Mon Jun  2 10:15:03 BST 2014<br>Running as pid 17089 at Mon Jun  2 10:15:59 BST 2014<br>
Running as pid 2805 at Mon Jun  2 11:15:02 BST 2014<br>Running as pid 4021 at Mon Jun  2 11:15:59 BST 2014<br>Running as pid 22545 at Mon Jun  2 12:15:00 BST 2014<br>Running as pid 23730 at Mon Jun  2 12:15:57 BST 2014<br>
<br></div>I have added a (redundant?) INTERVAL keyword, I have also played around with GROUP, but i cant stop it running twice.  Presumably adding a sleep at the end of the script would be a workaround, I'll try that next.<br>
-- <br></div>Andy<br></div>