1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cronjob: permission denied??

Discussion in 'Site & Server Administration' started by lachrymologist, Feb 26, 2009.

  1. #1
    i am currently hosting autoblog on my VPS (centos 5.2,lighttpd) and i notice that the crontab is working well,
    but each time the notification email arrive at my inbox it always says this:
    so what did i do wrong here?
    thanks in advance for any replies.
     
    lachrymologist, Feb 26, 2009 IP
  2. trisario

    trisario Peon

    Messages:
    11
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is the script file 755?
     
    trisario, Feb 27, 2009 IP
  3. playactn

    playactn Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What is the crontab entry? It sounds like it is actually running - is that error the actual script cron is calling or a line within the script itself.

    You can try adding the -x option at the top of your script:

    #!/bin/sh -x

    You should also run the script on the command as the crontab user to see if you get the error.
     
    playactn, Feb 27, 2009 IP