• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
Meemaw

Serverless Offline Schedule

by

Emulate schedule events locally when developing your Serverless project

00
  1. Serverless Offline Schedule

serverless-offline-schedule

serverless npm version License: MIT Coverage Status code style: prettier

Install Plugin

npm install --save-dev serverless-offline-schedule

Then in serverless.yml add following entry to the plugins array: serverless-offline-schedule

plugins:
  - serverless-offline-schedule

Using the Plugin

Standalone process

λ → sls schedule
Serverless: Starting serverless-offline-schedule in standalone process. Press CTRL+C to stop.
Serverless: Scheduling [schedule-function] cron: [*/1 * * * *] input: {"scheduler":"1-minute"}
...
Serverless: Succesfully invoked scheduled function: [my-function]

Part of serverless-offline

serverless-offline-schedule will automatically hook into serverless-offline start command hook.

λ → sls offline
...
Serverless: Scheduling [schedule-function] cron: [*/1 * * * *] input: {"scheduler":"1-minute"}
...
Serverless: Succesfully invoked scheduled function: [my-function]

Contents

  • serverless-offline-schedule
  • Install Plugin
  • Using the Plugin
  • Standalone process
  • Part of serverless-offline

Related

GuidesPluginsExamplesSlack CommunitySupport