<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 10 May 2018 at 07:48, Kern Doe via Xymon <span dir="ltr"><<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:16px"><div><div><div><span>Hello Xymon gurus,</span></div><div><span><br></span></div><div><span>I have a test database script, run by userID db2inst1 on an hourly basis by a cron, producing an output text file containing</span><span> a flag (a word) red/green, for example:</span><br><span></span></div><span><br>cat /tmp/chkpublicprivs.out<br>centos_hp0.NoPublic red db Security WARNING <br> Wed May  9 17:16:33 EDT 2018: PUBLIC access found in abcd database.<br><br>Xymon picks this up when I manually kick this off this command: <br>/home/xymon/server/bin/bb 172.20.10.5 "status `cat /tmp/chkpublicprivs.out`"<br><br></span><div><span>When my chkpublicprivs script runs again producing GREEN, it doesn't look like Xymon knows about this. How do we schedule Xymon to run? What parameter that determines that? I know I can put the above Xymon command in a cron but I suspect Xymon has its own scheduling mechanism.</span></div><div><span><br></span></div><div><span>Thank you in advance!!</span></div><div><span><br></span></div><div><span>Kern --</span></div></div></div></div></div></blockquote><div><br></div><div>Kern, you are correct. Xymon has a scheduler process called xymonlaunch. On a Xymon server, the configuration file that defines Xymon's scheduled tasks is tasks.cfg. On a Xymon client, the configuration file is called clientlaunch.cfg. The format of clientlaunch.cfg and tasks.cfg is the same. Run "man tasks.cfg" on your Xymon server to read about the format of the file, or view it online here: <a href="http://xymon.sourceforge.net/xymon/help/manpages/man5/tasks.cfg.5.html">http://xymon.sourceforge.net/xymon/help/manpages/man5/tasks.cfg.5.html</a></div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div></div>