An open API service indexing awesome lists of open source software.

https://github.com/geekeast/serveless-cron-starter

Easy go for Serverless NodeJs Typescript
https://github.com/geekeast/serveless-cron-starter

Last synced: about 2 months ago
JSON representation

Easy go for Serverless NodeJs Typescript

Awesome Lists containing this project

README

        

## Table Of Content

- [Schedule Setting](#schedule-setting)
- [Valid Rate](#valid-rate)
- [CRON](#cron)
- [Usage](#usage)
- [Install](#install)
- [Import](#import)
- [Execute](#execute)
- [Deploy](#deploy)
- [Logging](#logging)
- [Remove](#remove)

## Schedule Setting
### Valid Rate
- `minute`
- `minutes`
- `hour`
- `hours`
- `day`
- `days`
- [Schedule Rate Syntax](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html)

### CRON
- [Generator](https://www.freeformatter.com/cron-expression-generator-quartz.html)

## Usage
### Install
```sh
yarn add --dev serverless-offline-scheduler
```

### Import
```yml
plugins:
- serverless-offline-scheduler
```

### Execute
```sh
sls schedule
```

### Deploy
```sh
sls deploy
```

### Logging
```sh
sls log -f hello -s dev -t
```

### Remove
```sh
sls remove
```