Cron jobs??

Discussion in 'PHP' started by jkashu, Apr 14, 2008.

  1. #1
    I need to have a script run every hour. I create the script (copy.php) and used the godaddy cron manager to setup a cron job, however, I just get emails every hour saying that permission is denied.

    What do I need to do?? The script runs when I type in the url.

    Thanks!
     
    jkashu, Apr 14, 2008 IP
  2. roberto99

    roberto99 Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What command do you use to call copy.php? Maybe you don't allow to run that command.
     
    roberto99, Apr 14, 2008 IP
  3. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #3
    Have you tried changing the permissions of the script? Perhaps 775 or 755.

    Jay
     
    jayshah, Apr 15, 2008 IP