daily.midnight.php 351 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php
if (!isset ($argc))
  exit ();

$_SERVER['SCRIPT_FILENAME']='/var/www/ae/www/ae2/phpcron';

$topdir = $_SERVER['SCRIPT_FILENAME'].'/../';
require_once ($topdir.'include/site.inc.php');

$site = new site ();

echo '==== '.date ('d/m/Y').' ====\n';


require_once ($topdir.'include/entities/news.inc.php');

nouvelle::expire_cache_content ();

?>