alterncpanel should execute cron_users.sh instead of root
This commit is contained in:
parent
0f18155bd2
commit
639e948dfd
|
@ -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
|
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
|
# 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
|
||||||
|
|
Loading…
Reference in New Issue