Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    166
    Location:
    Miami, FL
    Try:
    * * * * * php -q -f /FULLPATHTO/script.php

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. demine0

    demine0 Well-Known Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice