summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c2a078d)
raw | patch | inline | side by side (parent: c2a078d)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Jul 2009 14:05:43 +0000 (14:05 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 6 Jul 2009 14:05:43 +0000 (14:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13893 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/GosaPackages.pm | patch | blob | history |
index 60ee896db11f140fbf7dfbf06ec6ba3e27a76940..decc502a8159503aee3a5dc8f173efba241a4cf9 100644 (file)
}
}
+ # Default db value is 'none' otherwise use systax /\d+_$periodic/
+ my $db_periodic_value = 'none';
+ if ($periodic ne 'none')
+ {
+ $db_periodic_value = $periodic_time."_".$periodic;
+ }
+
# Add job to job queue
if( $error == 0 ) {
my $func_dic = {table=>$main::job_queue_tn,
plainname=>$plain_name,
siserver=>"localhost",
modified=>"1",
- periodic=>$periodic_time."_".$periodic,
+ periodic=>$db_periodic_value,
};
my $res = $main::job_db->add_dbentry($func_dic);
if (not $res == 0) {