Execute a php file in /home/file.php to exclude from php limit
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
-
PHP: Runtime Configuration - Manual There will be no time limit when running from cron job the way you specified. 0 -
Hello @basketmen, The following document provides information about which PHP path to use when creating your cron job: EasyApache 4 and the ea-php-cli Package - EasyApache 4 - cPanel Documentation You can choose to use a specific 0
Please sign in to leave a comment.
Comments
2 comments