Page Contents

Home > @loopback/cron > CronComponent

CronComponent class

The CronComponent manages cron jobs. It serves as an extension point for cron jobs.

Signature:

export declare class CronComponent implements Component, LifeCycleObserver 

Implements: Component, LifeCycleObserver

Constructors

Constructor Modifiers Description
(constructor)(getJobs)   Constructs a new instance of the CronComponent class

Properties

Property Modifiers Type Description
getJobs readonly Getter<CronJob[]>  

Methods

Method Modifiers Description
start()    
stop()