creates a new job object
creates a new job object
this flag is set to true, if a job got canceled (e.g. due to a timeout or other exception), you can use it for long running tasks to periodically check if canceled is true, also touch will check if and throws that the job got canceled
Prevents the job from running
Allows job to run
Fails the job with a reason (error) specified
A job is running if: (lastRunAt exists AND lastFinishedAt does not exist) OR (lastRunAt exists AND lastFinishedAt exists but the lastRunAt is newer [in time] than lastFinishedAt)
Whether or not job is running at the moment (true for running)
Sets priority of the job
priority of when job should be queued
Remove the job from database
Sets a job to repeat at a specific time
Sets a job to repeat every X amount of time
Saves a job to database
Schedules a job to run at specified time
Given a job, turn it into an JobParameters object
Updates "lockedAt" time so the job does not get picked up again
0 to 100
Data to ensure is unique for job to be created
Generated using TypeDoc