×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Cron Job

Cron Job 8 years 5 months ago #34336

  • David Keene
  • David Keene's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Hi All
I have just setup this Cron job after following compojoom.com/blog/entry/setting-up-php-...a-exensions-on-linux
* * * * * /path/path/public_html/path/cli/matukio.php >> cronjob.log

Unfortunately i get the following error in my cronjob.log file
Status: 500 Internal Server Error
Content-type: text/html

Any help would be appreciated.
Regards
Dave

Cron Job 8 years 5 months ago #34341

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Dave,
5 stars mean taht the cronjob will run every minute. Do you really need the cronjob to run every minute???

Regards,
Daniel

Cron Job 8 years 5 months ago #34342

  • David Keene
  • David Keene's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 20
  • Thank you received: 0
Hi Daniel

I was just running every minute until i resolved the issue, the problem was the path to the right php.
/usr/php/54/usr/bin/php -q /path/path/public_html/path/cli/matukio.php >> cronjob.log

Regards
Dave
  • Page:
  • 1
Time to create page: 0.103 seconds