From 639e948dfd426c88e6920588fdb178f158973b2f Mon Sep 17 00:00:00 2001 From: Axel ROGER Date: Thu, 8 Nov 2012 10:50:16 +0000 Subject: [PATCH] alterncpanel should execute cron_users.sh instead of root --- debian/alternc.cron.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/alternc.cron.d b/debian/alternc.cron.d index 9b24498f..876d0a2d 100644 --- a/debian/alternc.cron.d +++ b/debian/alternc.cron.d @@ -29,4 +29,4 @@ 09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/alternc/sessions/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete # Every 30 minutes, do cron_users actions -00,30 * * * * root /usr/lib/alternc/cron_users.sh +00,30 * * * * alterncpanel /usr/lib/alternc/cron_users.sh