$job
$job : \Pop\Queue\Processor\Jobs\AbstractJob
The job the schedule belongs to
Job schedule class
$job : \Pop\Queue\Processor\Jobs\AbstractJob
The job the schedule belongs to
__construct(\Pop\Queue\Processor\Jobs\AbstractJob $job = null, string $timezone = null)
Constructor
Instantiate the job schedule object
\Pop\Queue\Processor\Jobs\AbstractJob | $job | |
string | $timezone |
setJob(\Pop\Queue\Processor\Jobs\AbstractJob $job) : \Pop\Queue\Processor\Jobs\Schedule
Set job
\Pop\Queue\Processor\Jobs\AbstractJob | $job |
getJob() : \Pop\Queue\Processor\Jobs\AbstractJob
Get job
cron(mixed $cronSchedule) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to custom cron schedule
min hour dom month dow
mixed | $cronSchedule |
everyMinute() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to every minute
every5Minutes() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to every 5 minutes
every10Minutes() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to every 10 minutes
every15Minutes() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to every 15 minutes
every20Minutes() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to every 20 minutes
every30Minutes() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to every 30 minutes
minutes(mixed $minutes) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to by specific minutes
mixed | $minutes |
hourly(mixed $minute = null) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to hourly
mixed | $minute |
daily(mixed $hours, mixed $minute = null) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to daily
mixed | $hours | |
mixed | $minute |
dailyAt(string $time) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to daily at specific time, i.e. 14:30
string | $time |
weekly(mixed $day, mixed $hours = null, mixed $minute = null) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to weekly
mixed | $day | |
mixed | $hours | |
mixed | $minute |
monthly(mixed $day, mixed $hours = null, mixed $minute = null) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to monthly
mixed | $day | |
mixed | $hours | |
mixed | $minute |
quarterly(mixed $hours = null, mixed $minute = null) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to quarterly
mixed | $hours | |
mixed | $minute |
yearly(boolean $endOfYear = false, mixed $hours = null, mixed $minute = null) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to yearly
boolean | $endOfYear | |
mixed | $hours | |
mixed | $minute |
weekdays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to weekdays
weekends() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to weekends
sundays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Sundays
mondays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Mondays
tuesdays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Tuesdays
wednesdays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Wednesdays
thursdays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Thursdays
fridays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Fridays
saturdays() : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to Saturdays
between(integer $start, integer $end) : \Pop\Queue\Processor\Jobs\Schedule
Set job schedule to between two hours
integer | $start | |
integer | $end |
runUntil(integer|string $runUntil) : \Pop\Queue\Processor\Jobs\Schedule
Set the run until property
integer|string | $runUntil |
setTimezone(string $timezone) : \Pop\Queue\Processor\Jobs\Schedule
Set job timezone
string | $timezone |