projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f815dda
)
Hintergrundjob-Validierung: 'keine Spec' als '* * * * *' behandeln
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 30 Aug 2012 07:49:16 +0000
(09:49 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 30 Aug 2012 07:49:16 +0000
(09:49 +0200)
SL/DB/BackgroundJob.pm
patch
|
blob
|
history
diff --git
a/SL/DB/BackgroundJob.pm
b/SL/DB/BackgroundJob.pm
index
ce1c399
..
b7b907b
100644
(file)
--- a/
SL/DB/BackgroundJob.pm
+++ b/
SL/DB/BackgroundJob.pm
@@
-90,7
+90,7
@@
sub validate {
}
eval {
- DateTime::Event::Cron->new_from_cron($self->cron_spec)->next(DateTime->now_local);
+ DateTime::Event::Cron->new_from_cron($self->cron_spec
|| '* * * * *'
)->next(DateTime->now_local);
1;
} or push @errors, $::locale->text('The execution schedule is invalid.');