Answers for "cron run php script"

PHP
0

cron run php script

# -q is for quiet mode
php -q ${HOME}/public_html/script.php
# if needed by your script:
cd ${HOME}/public_html/; php -q script.php
# with a config file:
php -c ${HOME}/php.ini ${HOME}/public_html/script.php
Posted by: Guest on March-20-2021

Browse Popular Code Answers by Language