From 5fd9fa480f302902328b81f912dd67ce378284f8 Mon Sep 17 00:00:00 2001 From: citizenz7 Date: Thu, 20 Apr 2017 18:50:55 +0200 Subject: V.1.4.6 --- Autres/crontab.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Autres/crontab.php (limited to 'Autres/crontab.php') diff --git a/Autres/crontab.php b/Autres/crontab.php new file mode 100644 index 0000000..b23b83c --- /dev/null +++ b/Autres/crontab.php @@ -0,0 +1,14 @@ +setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + +$stmt = $db->query('DELETE FROM xbt_announce_log WHERE mtime < (NOW() - INTERVAL 59 MINUTE)'); +?> -- cgit v1.2.1