@saflib/cron-db
@saflib/cron-db
Classes
| Class | Description |
|---|---|
| CronDatabaseError | Superclass for all handled cron db errors |
| JobSettingNotFoundError | Superclass for all handled cron db errors |
Interfaces
| Interface | Description |
|---|---|
| JobSetting | The current state and settings of a cron job. |
Type Aliases
| Type Alias | Description |
|---|---|
| GetAllResult | - |
| GetByNameResult | - |
| SetEnabledResult | - |
| SetLastRunStatusResult | - |
Variables
| Variable | Description |
|---|---|
| cronDb | For managing connections to the cron database. |
| getAll | - |
| getByName | - |
| setEnabled | Upsert enabled flag for a cron job. When enabling, pass enabledBy (Kratos identity id) to record authority. When disabling, enabled_by is retained as an audit trail of who last held authority. |
| setLastRunStatus | - |