@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 779 B
Markdown
lang: en
title: 'API docs: cron.cronjob._constructor_'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/extensions/cron
permalink: /doc/en/lb4/apidocs.cron.cronjob._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/cron](./cron.md) > [CronJob](./cron.cronjob.md) > [(constructor)](./cron.cronjob._constructor_.md)
## CronJob.(constructor)
Constructs a new instance of the `CronJob` class
<b>Signature:</b>
```typescript
constructor(options: CronJobOptions);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | <code>CronJobOptions</code> | |