Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ping a Heroku App Using Serverless / AWS Lambda
service: myapp-ping
provider:
name: aws
runtime: nodejs8.10
environment:
PING_URL: https://myapp.herokuapp.com
functions:
ping:
handler: handler.ping
events:
- schedule:
# Ping every 15 minutes between 7am-10pm CST (times are UTC)
rate: cron(0/15 02-17 * * ? *)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.