| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | dir=`dirnamescip-shell system . . dirname. $0` |
| 4 | |
| 5 | if [scip-shell system . . `[`. -x /usr/bin/phpscip-shell filesystem . . `/usr/bin/php`. ]; then |
| 6 | # delimiter must be added to support arguments starting with "--" |
| 7 | /usr/bin/phpscip-shell filesystem . . `/usr/bin/php`. -f $dir/runCronJobs.inc delimiter $* |
| 8 | exit $? |
| 9 | fi |
| 10 | |
| 11 | echoscip-shell system . . echo. "No PHP executable found" |
| 12 | |
| 13 | exit 1 |