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 do i run a PHP file with cpanels cron?

Discussion in 'General Discussion' started by demine0, Aug 9, 2003.

  1. demine0

    demine0 Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    How do you run a php script in the cpanel cron tab?

    I want it to run every minute

    i got it set as

    * * * * * /FULLPATHTO/script.php

    but it doesn't work

    cPanel.net Support Ticket Number:
     
  2. pirania1

    pirania1 Well-Known Member

    Joined:
    May 10, 2003
    Messages:
    126
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami, FL
    Try:
    * * * * * php -q -f /FULLPATHTO/script.php

    cPanel.net Support Ticket Number:
     
  3. demine0

    demine0 Well-Known Member

    Joined:
    Mar 25, 2003
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page