Runs scheduled tasks assigned by Register::cronJob on behalf of the UN*X cron utility
This is the code documentation for the SproutCMS project
Search documentation |
class CronJobControllerRuns scheduled tasks assigned by Register::cronJob on behalf of the UN*X cron utility
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-15
**/
class NewClassName extends CronJobController {
public function __construct () {
// Method code goes here
}
/**
* Run a given cron schedule
*
* Each individual job is run independently of the others using a php sub-process
* This means that *any* failure of a given job will be isolated and other
* jobs will continue to run
**/
public function run (string $schedule) {
// Method code goes here
}
/**
* Internal job runner for cron jobs
*
* Just creates an instance of the class (must be a controller), then calls the method
*
* Parameters are passed by CLI argv array; 2 => class, 3 => function
**/
public function runJob () {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|