Marius Cramer
2014-08-07 9ae8653c95ca73645365a82415dc0e873ee6afe3
commit | author | age
fdfd55 1 #!/bin/sh
30aa08 2
T 3 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
4
03e170 5 if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
T 6         PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini`
7         if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig'  ]; then
8                 export PHPRC=/usr/local/ispconfig/server/lib
9         fi
10 fi
11
fdfd55 12 /usr/bin/php -q /usr/local/ispconfig/server/cron_daily.php
4bd960 13
68ec43 14 if [ -f /usr/local/ispconfig/server/cron_daily_billing.sh ]; then
T 15         /usr/local/ispconfig/server/cron_daily_billing.sh
bfcdef 16 fi