Cron not executing properly
/usr/local/bin/php -q /home/example/public_html/create_test.php
This php script will just create a file.
-
Hello, With EasyApache 4, the '/usr/local/bin/php' path is available if you need the php-cli binary, and the '/usr/bin/php' path is available if you need the CGI variant. Try switching the cron job to '/usr/bin/php' and let us know if the issue persists. Thank you. 0 -
Thanks. It now works. 0 -
I'm happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments