A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/martinlindenberg/serverless-plugin-cronjob below:

GitHub - martinlindenberg/serverless-plugin-cronjob

Serverless Plugin CRONJOB

This plugin creates cronjobs out of your lambda functions.

Note: This plugin supports Serverless 0.4.* (please use previous Releases for 0.2.* and 0.3.*)

In newer Versions of Serverless (0.5+) the functions of this plugin are already included:

cd projectfolder
npm install serverless-plugin-cronjob
"plugins": [
    "serverless-plugin-cronjob"
]
  ...
  "cronjob": {
    "name": "cron1",
    "description": "my fancy cronjob",    
    "enabled": false,
    "schedule": "rate(5 minutes)"
  },
  ...
name            (string)  Name of your cronjob
description     (string)  Describtion for your cronjob
enabled         (boolean) true or false, to enable or disable this cron   
schedule        (string)  defines when the cronjob should run. two different types are useable:
    a) rate(x time)         "x" is an integer number
                            "time" is a string value of "minutes", "hours" or "days"
    b) cron(0 20 * * ? *)   default crontab rules can be used


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4