Check API key daily
[MAILPOET-2396]
This commit is contained in:
committed by
Jack Kitterhing
parent
20eccaad67
commit
e1de593174
@ -31,5 +31,10 @@ abstract class KeyCheckWorker extends SimpleWorker {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function getNextRunDate() {
|
||||
$date = Carbon::createFromTimestamp($this->wp->currentTime('timestamp'));
|
||||
return $date->startOfDay()->addDay();
|
||||
}
|
||||
|
||||
public abstract function checkKey();
|
||||
}
|
||||
|
Reference in New Issue
Block a user