1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

Update Hamster.php

This commit is contained in:
Bradley Schofield 2023-11-30 11:05:15 +00:00
parent dea3e74b6a
commit 8bec64b2a2

View file

@ -78,9 +78,6 @@ class Hamster extends Action
$next = new \DateTime($now->format("Y-m-d $jobInitTime")); $next = new \DateTime($now->format("Y-m-d $jobInitTime"));
$next->setTimezone(new \DateTimeZone(date_default_timezone_get())); $next->setTimezone(new \DateTimeZone(date_default_timezone_get()));
$delay = $next->getTimestamp() - $now->getTimestamp(); $delay = $next->getTimestamp() - $now->getTimestamp();
$delay = 5;
/** /**
* If time passed for the target day. * If time passed for the target day.
*/ */