Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    May 2003
    Location
    Toronto, Ontario, Canada
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Cron job help

    I'm trying to setup a php cron job. I get emailed the results, and so far, results = error.

    /bin/sh: /home/username/email_scripts/email.php: /usr/bin/php
    : bad interpreter: No such file or directory

    Anyone able to suggest what the issue could be. Permissions on file are 755, that's the right path to php, and right path to script...

    Thanks,
    Pete
    "God is the history of chance"
    John Gardner

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Questions on permissions on files or CRON jobs really don't fall under PHP. I will move this to the other server side issues forum. You may also want to search that forum for CRON jobs topics as this has been asked several times in the past.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    New Coder
    Join Date
    May 2003
    Location
    Toronto, Ontario, Canada
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks. Guess it was a pretty loose association to php.

    Pete.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •