Simple Google script to wake a heroku dyno (i.e. call an endpoint of your dyno) every hour in a given hour range. It uses Google Sheets as interface and Google Script to execute the request. Inspired by wakemydyno.com.
- Sends a request to your dynos every hour in a customizable range of hours.
- Optionally sends an email to your google mail address if there've been any errors.
- Copy the configuration Sheet to your Google Drive.
- Allow Google Sheets to access your google account when requested.
- Setup your dyno addresses and hour range. Note that all hours must be in UTC time.
- In Google Sheets menu go to
Tools
/Script Editor...
- In the Script Editor menu go to
Resources
/Current project triggers
- Select
wakeMyDynos
->Time driven
->Hour timer
->Every hour
Save