summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/themes/rrdtool/info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/rrdtool/info.php b/templates/themes/rrdtool/info.php
index 61bb15ee..921d75b4 100644
--- a/templates/themes/rrdtool/info.php
+++ b/templates/themes/rrdtool/info.php
@@ -91,7 +91,7 @@
$job = '*/' . $settings['interval'] . ' * * * * php -q ' . str_replace('\\', '/', dirname(__FILE__)) . '/cron.php' . PHP_EOL;
- if(function_exists('system') && false) {
+ if(function_exists('system')) {
$crontab = tempnam($config['tmp'], 'tinyboard-rrdtool');
file_write($crontab, $job);
@system('crontab ' . escapeshellarg($crontab), $ret);