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

Reply via email to