Page Contents
Home > @loopback/cron > asCronJob
asCronJob() function
A BindingTemplate
function to configure the binding as a cron job.
Signature:
export declare function asCronJob<T = unknown>(binding: Binding<T>): Binding<T>;
Parameters
Parameter | Type | Description |
---|---|---|
binding | Binding<T> | Binding object |
Returns:
Binding<T>