I am a free member trying to get a simple Cron job that adds some text to a file every so often (e.g. 10 minutes), but cannot get it working.
Here is the php file:
$fileout = 'output.txt';
$fhout = fopen($fileout, 'a') or die("cannot open output file $fileout");
and the Cron wizard setup:
*/10 * * * * php -f /home/axxxxxxx/public_html/schedcdrs/cron.php that creates the output file in the same directory
I have also tried using an intermediary PHP file to invoke the target file:
as proposed by someone in the forum.
I cannot get either to work (nothing is written to the output file), although they do work using manual browser access.
My understanding is that the Cron feature is available to free members except that it cannot be used for internals for less than 5 minutes.
Can anyone help please,