File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Resources/config/doctrine Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,15 @@ public function getIntervalExpression()
33
33
return $ this ->intervalExpression ;
34
34
}
35
35
36
+ public function getInterval ()
37
+ {
38
+ if (null === $ this ->interval && null !== $ this ->intervalExpression ) {
39
+ $ this ->interval = CronExpression::factory ($ this ->intervalExpression );
40
+ }
41
+
42
+ return parent ::getInterval ();
43
+ }
44
+
36
45
/**
37
46
* {@inheritdoc}
38
47
*/
Original file line number Diff line number Diff line change 21
21
<field name =" startTime" type =" datetime" nullable =" true" />
22
22
<field name =" endTime" type =" datetime" nullable =" true" />
23
23
<field name =" scheduleTime" column =" schedule_time" type =" datetime" />
24
- <field name =" exception" type =" object " nullable =" true" />
24
+ <field name =" exception" type =" text " nullable =" true" />
25
25
<field name =" result" type =" object" nullable =" true" />
26
26
<field name =" status" type =" string" length =" 20" />
27
27
You can’t perform that action at this time.
0 commit comments