The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

execute PHP in CPanel's Cron Job not working, please help

Discussion in 'General Discussion' started by cyclops, Sep 4, 2005.

  1. cyclops

    cyclops Registered

    Joined:
    Sep 4, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    hi,

    i create an automatic system that will remind user at their birthday, i create the script using PHP and try to use cronjob that listed in cpanel.

    already try several command such as lynx, /usr/bin/php, get.... all of them do not work!

    could you please help me with command that suitable to my need ?

    ps: nothing wrong with my script, because it run perfectly when i try with browser.

    thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    What errors do you get? when a crontab fails it should email you the error. You could also try using curl. Have you checked that you have the correct permissions on those binaries for end-users to access them and have you tried running the command from shell first?
     
Loading...

Share This Page