From 5fda9df085b753c2e7dc8130841e152e723c8d0f Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Thu, 5 Apr 2018 23:55:18 +0300 Subject: [PATCH] Use data dir for logs 2 --- crontab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crontab b/crontab index 9bce488..5065eb1 100644 --- a/crontab +++ b/crontab @@ -1,2 +1,2 @@ 0 * * * * /usr/bin/python /app/manual.py &> /cidata/logs/manual.log -0 0 * * * find /cidata/ -type d -not -name "logs" -mtime +21 -exec rm -rf "{}" \; 2>&1 | tee /logdir/clean.log +0 0 * * * find /cidata/ -type d -not -name "logs" -mtime +21 -exec rm -rf "{}" \; 2>&1 | tee /cidata/logs/clean.log