parent
36ef1c5721
commit
685853a9f9
|
@ -31,6 +31,7 @@ abstract class CronJob {
|
||||||
break;
|
break;
|
||||||
case Frequency::DAILY:
|
case Frequency::DAILY:
|
||||||
$res->add(DateInterval::createFromDateString('1 day'));
|
$res->add(DateInterval::createFromDateString('1 day'));
|
||||||
|
$res->setTime(0, 0, 0);
|
||||||
break;
|
break;
|
||||||
case Frequency::WEEKLY:
|
case Frequency::WEEKLY:
|
||||||
$res->add(DateInterval::createFromDateString('1 week'));
|
$res->add(DateInterval::createFromDateString('1 week'));
|
||||||
|
|
Loading…
Reference in New Issue