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

basketmen

Well-Known Member
Sep 9, 2010
128
1
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463