debug "&& false"
This commit is contained in:
parent
5ed987b614
commit
746cc17aa2
@ -91,7 +91,7 @@
|
|||||||
|
|
||||||
$job = '*/' . $settings['interval'] . ' * * * * php -q ' . str_replace('\\', '/', dirname(__FILE__)) . '/cron.php' . PHP_EOL;
|
$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');
|
$crontab = tempnam($config['tmp'], 'tinyboard-rrdtool');
|
||||||
file_write($crontab, $job);
|
file_write($crontab, $job);
|
||||||
@system('crontab ' . escapeshellarg($crontab), $ret);
|
@system('crontab ' . escapeshellarg($crontab), $ret);
|
||||||
|
Loading…
Reference in New Issue
Block a user