Commit 3d33d998 authored by Antoine Tenart's avatar Antoine Tenart
Browse files

Add a cron to flush cache every day at midnight

parent e388057f
if (!isset ($argc))
exit ();
$topdir = $_SERVER['SCRIPT_FILENAME'].'/../';
require_once ($topdir.'include/');
$site = new site ();
echo '==== '.date ('d/m/Y').' ====\n';
require_once ($topdir.'include/entities/');
nouvelle::expire_cache_content ();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment