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
- Host: GitHub
- URL: https://github.com/geekeast/serveless-cron-starter
- Owner: GeekEast
- License: mit
- Created: 2019-10-31T06:08:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:32:44.000Z (over 2 years ago)
- Last Synced: 2025-03-02T12:17:28.237Z (about 2 months ago)
- Language: TypeScript
- Size: 348 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```