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.

Can't create cron!

Discussion in 'General Discussion' started by bytemonster, Mar 9, 2007.

  1. bytemonster

    bytemonster Registered

    Joined:
    Sep 10, 2001
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to create a cron, but when I do, it says "Cron updated!", but when I go back, there's nothing there, and I'm not receiving any notification emails either. What am I doing wrong?
     
  2. bytemonster

    bytemonster Registered

    Joined:
    Sep 10, 2001
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    anyone? I really need to get this going. Maybe I have my paths wrong? I have:

    */5 * * * * /user/bin/php /modernbill/app-modernbill-admin/sbin/runevents.php

    Is this correct?
     
    #2 bytemonster, Mar 9, 2007
    Last edited: Mar 9, 2007
  3. kdarray

    kdarray Well-Known Member

    Joined:
    Apr 13, 2006
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Washington
    Perhaps

    I'm not sure of your setup, but I do my crons like this to run a php script from a website at regular intervals:

    lynx --dump http://domain.com/subdirectory/filename.php > /dev/null

    Try something like this perhaps.
     
  4. bytemonster

    bytemonster Registered

    Joined:
    Sep 10, 2001
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Ok, I can get a crontab going, but my email gets "No input file selected."

    kdarray, can you explain your cron? What's lynx and dump?
     
Loading...

Share This Page