run composer self-update via cron
Hello!
How to correctly run composer self-update on Cron?
When job is running the following warning is generated:
Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI You are already using composer version 1.2.1 (stable channel).
Thanks!
Thanks!
-
Hello, The following document explains how this works with EasyApache 4: EasyApache 4 and the ea-php-cli Package - EasyApache 4 - cPanel Documentation Let us know if that helps. Thank you. 0 -
Hello! At the moment we're using Easy Apache 3. Is there solution for this? 0 -
With EasyApache 3, you should be able to simply use "/usr/local/bin/php" when configuring the cron job. Let us know if that helps. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments