Announcement

Collapse
No announcement yet.

PHP Cron Job Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP Cron Job Problem

    I cannot get a php script to run as a cron job. I've read the other posts and this is what I have done:

    1. Set file permissions to 755
    2. Added this command line to a cron job - /usr/local/bin/php -q /home/neroie/public_html/eplanner/common/lib/getSMSLog.php

    I've tried changing the -q to -f as I have seen this documented elsewhere as an option but still no joy.

    I added my email to the Cron Email tool but I get no emails about errors.

    Are there cron log files that can be read as it looks like the job is not attempting to run??

    Thanks.

  • #2
    Please ignore that post. It was an issue in the script itself with paths.......aaahhhhhhhh

    Comment

    Working...
    X