Cronjob not running



Other Information

hello, I have put a cronjob and it does not run, I have reduced the script to test and it does not run either. Can someone help me with this problem. Thank you.

This is the script

<?php $logFile = fopen("log.txt", 'a') or die("Error creando archivo"); fwrite($logFile, "\n".date("d/m/Y H:i:s")." INICIO ejecutando script" ) or die("Error escribiendo en el archivo"); fwrite($logFile, "\n".date("d/m/Y H:i:s")." FIN ejecutado script") or die("Error escribiendo en el archivo"); fclose($logFile); ?>

however when I run the script manually entering it in my urlbar it run :

12/11/2020 13:47:46 INICIO ejecutando script
12/11/2020 13:47:46 FIN ejecutado script

Sorry for my English.

Any idea?
Thank you.

No, sorry. The script looks OK and the cron syntax looks OK. So I don’t know.

OK. I will try other schedules. If you find something tell me please. thanks.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.