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.

Cron Tab

Discussion in 'General Discussion' started by brentp, Mar 11, 2004.

  1. brentp

    brentp Well-Known Member

    Joined:
    Mar 11, 2004
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ayr, North Queensland, Australia
    I need help with this one thing, i have netstatus, and i need to get cron to "run" the /public_html/netstatus/cron_script/cron_script.php, to refresh the stats.

    Any answers?
     
  2. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Hi brent123,

    To run the cron_script.php, you can use
    shell>crontab -e
    * * * * * cronscript php /public_html/netstatus/cron_script/cron_script.php> /dev/null 2>&1
    Save the file and quit.

    Regards

    Bright:)
     
Loading...

Share This Page