On Fri, Dec 17, 2010 at 4:24 AM, Andrew Holt
<address@hidden> wrote:
Hi,
I have a script that I want to run once, but only if a service it depends upon is running
So if service scd is running then execute a script (e.g. /usr/local/bin/tst.sh ) once only, not every 'scan' time.
Any ideas ?
Thanks,
Andrew
=============================
Andrew Holt
Email: address@hidden
De Omnibus Dubitandum
=============================
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
When you say "once", I get it... you don't want the script run every scan cycle of Monit, but
when is that script run "once"? Is it once a day? Once at startup? Once when you feel like
it (manual)? This might be overkill for Monit, and a better solution available.
- Keith