mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Fixed problems with cron interval qhen type of module is a data server. Ticket: #4242
(cherry picked from commit 53c255893900d65abc04733f197211a5dc3a9f0c)
This commit is contained in:
parent
4f0a8cfdb1
commit
a78690ff6f
@ -1009,6 +1009,9 @@ if ($update_module || $create_module) {
|
||||
$month = get_parameter('month');
|
||||
$wday = get_parameter('wday');
|
||||
$cron_interval = "$minute $hour $mday $month $wday";
|
||||
if (!cron_check_syntax($cron)) {
|
||||
$cron_interval = '';
|
||||
}
|
||||
|
||||
if ($prediction_module != MODULE_PREDICTION_SYNTHETIC) {
|
||||
unset($serialize_ops);
|
||||
|
Loading…
x
Reference in New Issue
Block a user