|
From: | Stephan Gomes Higuti |
Subject: | Re: Schedule a date for an action. |
Date: | Wed, 12 Nov 2014 15:12:23 -0200 |
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.d1 23 20 5 * root /usr/local/bin/stop-process-x.sh$ cat /usr/local/bin/stop-process-x.sh#!/bin/bashmonit stop process-xexit 0Hope it helpsOn 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
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |