If you want to use your own php.ini in the implementation of cronjobs, add the following to the cron command:

/usr/local/bin/php -c /home/user1/public_html/php.ini /home/user1/public_html/filecron.php


Note:

The command refers to the username user1. To set the cron command you need to use your web hosting username.

Помог ли вам данный ответ? 1 Пользователи нашли это полезным (2 голосов)