summaryrefslogtreecommitdiffstats
path: root/modules-available/webinterface/hooks/cron.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/webinterface/hooks/cron.inc.php')
-rw-r--r--modules-available/webinterface/hooks/cron.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/webinterface/hooks/cron.inc.php b/modules-available/webinterface/hooks/cron.inc.php
new file mode 100644
index 00000000..cc30ed05
--- /dev/null
+++ b/modules-available/webinterface/hooks/cron.inc.php
@@ -0,0 +1,5 @@
+<?php
+
+if (mt_rand(1, 36) === 1 && Property::get(WebInterface::PROP_TYPE) === 'acme') {
+ Acme::renew();
+} \ No newline at end of file