IJob
extends
IRunnable
in
Job interface for the Neuron job scheduling system.
This interface defines the contract for scheduled jobs that can be executed by the Scheduler. Jobs represent discrete units of work that can be scheduled to run at specific times or intervals.
Jobs must implement both the IRunnable interface (providing a run() method) and provide a unique name for identification within the scheduling system.
The job lifecycle:
- Job is registered with the Scheduler
- Scheduler determines when to execute based on schedule configuration
- Scheduler calls run() method to execute the job
- Job performs its work and returns success/failure status
Tags
Table of Contents
Methods
Methods
getName()
public
getName() : string
Return values
stringrun()
Generic run method.
public
run([array<string|int, mixed> $argv = [] ]) : mixed
Parameters
- $argv : array<string|int, mixed> = []