From 1500fd5f615ac5c4dae96554a2ed284deab1b918 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 29 Dec 2014 23:56:33 +0800 Subject: [PATCH] fix --- webkit/etc/monit/conf.d/cleanup.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webkit/etc/monit/conf.d/cleanup.cfg b/webkit/etc/monit/conf.d/cleanup.cfg index bfe051c..b323c45 100644 --- a/webkit/etc/monit/conf.d/cleanup.cfg +++ b/webkit/etc/monit/conf.d/cleanup.cfg @@ -1,2 +1,3 @@ -check program cleanup with path "find /data -type f -cmin +60 -delete" +check program cleanup with path "/usr/bin/find /data -type f -cmin +60 -delete" every 5 cycles + if status != 0 then alert