Page Contents

Home > @loopback/cron

cron package



Class Description
CronComponent The CronComponent manages cron jobs. It serves as an extension point for cron jobs.
CronJob Cron job with an optional name


Function Description
asCronJob(binding) A BindingTemplate function to configure the binding as a cron job.
cronJob(specs) @cronJob decorates a cron job provider class


Namespace Description
CronBindings Binding keys used by this component.


Variable Description
CRON_JOB_SCHEDULER Name of the cron job extension point

Type Aliases

Type Alias Description
CronJobConfig Configuration for a cron job.
CronJobOptions <p>Options for a cron job. It adds an optional name to cron parameters.</p><p>cron configuration</p>