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.

how can i run a php file by Cron Manager

Discussion in 'General Discussion' started by mahdionline, Dec 18, 2005.

  1. mahdionline

    mahdionline Well-Known Member

    Joined:
    Oct 18, 2003
    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I need one of my php file run every 5 minute.

    How should i do from cpanel or ... ?

    Regard
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Would be fairly simple using the cPanel Cron Manager.

    */5 * * * * /usr/bin/php "path to php script"
     
Loading...

Share This Page