Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cron script difficulties
#1
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.
Reply




Users browsing this thread: 1 Guest(s)