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!

Execute a php file in /home/file.php to exclude from php limit

Discussion in 'General Discussion' started by basketmen, Mar 19, 2019.

Tags:
  1. basketmen

    basketmen Well-Known Member

    Joined:
    Sep 9, 2010
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    66
    i have a small php file that need to run about 30 minutes
    but my php max_execution_time setting is default, only 30 seconds

    so can i put the php file ie in /home/file.php to exclude from php limit & execute it via Cron job?
    ie cron job commands : php /home/file.php
     
  2. raysolomon

    raysolomon Active Member

    Joined:
    Oct 12, 2006
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    153
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,555
    Likes Received:
    2,182
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
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