Thread: Cron help

    #1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2005
    Posts
    641
    Rep Power
    17

    Cron help


    hey guy's i just need to see if this is correct

    i want to run my cron every day at 4:30am


    30 4 * * * php /home/lfncltee/public_html/Center/all_in.php >/dev/null 2>&1
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,477
    Rep Power
    1752
    I might be inclined to put a full path to the php binary but it looks ok to me. I might, to begin with at least, have stderr redirect to a file so any errors can be chased down.
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2005
    Posts
    641
    Rep Power
    17
    ok cool.thx

IMN logo majestic logo threadwatch logo seochat tools logo