I try to run a php file from a cron but this not work
sudo service cron status cron start/running, process 1447
I test with differents setups but none worked.
When run the command over sheel it works: /usr/bin/php5 /var/www//html/folder/phpscript.php
Even when I setup a cron like * * * * * echo ‘This is a test’ > /var/log/file.log, it works.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.