GetSimple Support Forum

Full Version: Cron script difficulties
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.