LazyCron::getTimeFuncName()

Get name of time function to hook for given number of seconds

Returns the time function name that most closely matches given number of seconds.

Available since version 3.0.236.

Usage

$string = $lazyCron->getTimeFuncName(int $seconds);

Arguments

NameType(s)Description
$secondsint

Number of seconds

Return value

string

Name of time function to hook


LazyCron methods and properties

API reference based on ProcessWire core version 3.0.252