Cron script difficulties - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Cron script difficulties (/showthread.php?tid=1201) |
Cron script difficulties - Cottser - 2010-12-29 After following the instructions here: http://get-simple.info/docs/cron-setup The script does not seem to want to run, the first if statement keeps returning "You cannot load this page directly." I'm running it like so: Code: /usr/local/bin/php -q /home/[...]/public_html/getsimple/cron.php I have GS installed in a subdirectory. It works fine if I comment out the first if statement. I've also tried running php without the -q parameter with the same results. |