Fixed problems with cron interval qhen type of module is a data server. Ticket: #4242

This commit is contained in:
m-lopez-f 2016-12-22 12:06:52 +01:00
parent 424ee4f4b2
commit 53c2558939
1 changed files with 3 additions and 0 deletions

View File

@ -1001,6 +1001,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);