cron job set up

Discussion in 'Site & Server Administration' started by daz1034, May 14, 2007.

  1. #1
    hi am trying to set up a cron job

    i have it so i get an email every time the email i am geting says

    /bin/sh: /: is a directory


    dose that mean its working or not lol


    daz1034xx
     
    daz1034, May 14, 2007 IP
  2. randomIntellections

    randomIntellections Well-Known Member

    Messages:
    985
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    180
    #2
    its not working , in shell enter "crontab -e" then check if you have correctly setup the path for the script that needs to be run .
     
    randomIntellections, May 14, 2007 IP
  3. daz1034

    daz1034 Peon

    Messages:
    138
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This is how i have it set up at the mo

    php public_html/mydomain/moving/wp-content/post.php

    am on vodahost
     
    daz1034, May 14, 2007 IP
  4. randomIntellections

    randomIntellections Well-Known Member

    Messages:
    985
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    180
    #4
    you need to set it to php /home/username/public_html/moving/wp-content/post.php i assume you are using cpanel
     
    randomIntellections, May 14, 2007 IP