Keep Alive: Render is a simple script to keep your Render free tier from going to sleep by sending a request to your service(s) at 14-minute intervals.
Something to note
* Read about Render's Monthly usage limits here
Using npm:
npm install
yarn:
yarn
- Create a
.env
file in the root directory:
cp sample.env .env
-
Replace the value of
URLS
in the.env
with that of your service(s). For multiple services, separate them with a comma. -
Start the script with your favourite package manager.
With npm:
npm run start
With yarn:
yarn start
ISC