You want to use the full path to PHP,
enter: whereis php
usually php is in / usr / bin / php
leads to: /usr/bin/php/var/www/dev/update.php
I find it useful to verify that crontab is executed by output to a file, so you know that cron is actually running, for example:
/usr/bin/php/var/www/dev/update.php> output.txt
You will probably be better off putting a forward slash before βvarβ, as shown above.
innvo source share