Answers for "cron.php"

PHP
0

cron.php

$time = date("G:i:s");
$entry = "Información guardada a las $time.\n";
$file = "/var/www/testdir/test.cron.txt";
$open = fopen($file,"a");
 
if ( $open ) {
	fwrite($open,$entry);
	fclose($open);
}
Posted by: Guest on December-09-2020

Browse Popular Code Answers by Language