This commit is contained in:
Roland Gruber 2015-10-28 18:26:16 +00:00
parent 38a1f3f32f
commit f0c3c14c24
1 changed files with 15 additions and 0 deletions

15
lam/lib/cron.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
dir=`dirname $0`
if [ -x /usr/bin/php5 ]; then
/usr/bin/php5 -f $dir/cron.inc $*
exit $?
elif [ -x /usr/bin/php ]; then
/usr/bin/php -f $dir/cron.inc $*
exit $?
fi
echo "No PHP executable found"
exit 1