Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | daniel-mar | 3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
2 | daniel-mar | 4 | |
5 | // Server-Cronjobs sind ausgeschaltet... (Über 2 Minuten kein Cron) |
||
6 | // -> Zwangsweise über HTTP-Abruf! |
||
7 | $rsc = db_query("SELECT * FROM `".$mysql_zugangsdaten['praefix']."konfig` WHERE `name` = 'last_cronjob' AND `wert` <= DATE_SUB(NOW(), INTERVAL 2 MINUTE)"); |
||
8 | if (db_num($rsc) > 0) |
||
9 | { |
||
8 | daniel-mar | 10 | $footer = '<img src="'.$_SERVER['PHP_SELF'].'?modul='.urlencode($m2).'&seite=run&passiv=1" alt="" width="" height="">'.$footer; |
2 | daniel-mar | 11 | ib_change_config('passivcron', '1', $m2); |
12 | } |
||
13 | |||
3 | daniel-mar | 14 | ?> |