I have a code that should be executed by a Cron function from Monday to Friday at 7 o'clock.
00 7 * * 1-5 php /var/www/html/felipe_projetos/Poc/ch_ch.php
This code should write some data in a txt, but this does not happen, when I run the page outside linux, it works perfectly, however, with crontab not. Am I doing something wrong?
Edit1: I am not the root of the server, and all files are allowed 777.