monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Schedule a date for an action.


From: Russell Simpkins
Subject: Re: Schedule a date for an action.
Date: Wed, 12 Nov 2014 12:05:35 -0500

Not knowing exactly what you're trying to do, I would advise you create a cron job that runs a bash script when you need this done. 

Something like this in your /etc/cron.d

1 23 20 5 * root /usr/local/bin/stop-process-x.sh

$ cat  /usr/local/bin/stop-process-x.sh
#!/bin/bash
monit stop process-x
exit 0

Hope it helps

On Wed, Nov 12, 2014 at 11:52 AM, Stephan Gomes Higuti <address@hidden> wrote:
Hello,

Is there any way for using dates?
For example, on May, 20th I want the process "x" to be killed, i tried to figure out a way for doing it without success.
Have you guys ever tried something like this?

Regards,

Stephan

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]