Page Contents
Home > @loopback/cron > CronComponent > (constructor)
CronComponent.(constructor)
Constructs a new instance of the CronComponent class
Signature:
constructor(getJobs: Getter<CronJob[]>);
Parameters
| Parameter | Type | Description |
|---|---|---|
| getJobs | Getter<[CronJob](/doc/en/lb4/apidocs.cron.cronjob.html)\[\]> |