Lecteur Markdown
Scheduler Documentation En
Feature: Scheduler #
Scheduled task management (cron jobs) via a web interface. Create, edit, enable/disable and delete automated tasks without SSH access.
Scheduled task management (cron jobs) via a web interface. Create, edit, enable/disable and delete automated tasks without SSH access.
Via FTP: Upload the scheduler/ directory into /plugins/.
Via package manager: Select scheduler from the available plugins list.
Paths:
/plugins/scheduler/scheduler.php/plugins/scheduler/conf/scheduler.conf.inc.php/plugins/scheduler/handlers/scheduler.mod.phpConfiguration parameters (scheduler.conf.inc.php):
| Variable | Default | Description |
|---|---|---|
| $basedatadisplay | 'yes' | Display in management interface |
| $basedisplevel | BASE_LEVEL_ADMIN | Minimum required level |
| $ftype | 3 | Plugin type (system) |
| CRON_LEVEL_ADMIN | BASE_LEVEL_ADMIN | Level required for operations |
Required SQL table: cron_jobs
Table fields: id, name, module, hour, enabled, backup_type, max_backups, about.
| Field | Constraint |
|---|---|
| name | Alphanumeric, hyphens and underscores, minimum 3 characters |
| module | Must end with .mod.php, .php or .dta |
| hour | Integer between 0 and 23 |
scheduler.mod.php) #| Action | Method | Description |
|---|---|---|
| toggle | GET | Enables or disables a task (?id=X) |
| save | POST | Creates or updates a task |
| delete | GET | Deletes a task (?id=X) |
Beamreactor\Database\SQL — CRUD on cron_jobsBeamreactor\Sanitizer\Parser — form field validation