Hello Russel, thankz for your answer.
Yes, thats what I was planning, but I was trying to make sure that I
couldnt do it via monit, without using cron or anything.

Thank you.


Att,

Stephan Gomes Higuti

On 12 November 2014 15:05, Russell Simpkins <[email protected]>
wrote:

> 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 <
> [email protected]> 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
>>
>
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general
>
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to