Ben Borgers

How to keep your Glitch project from sleeping

March 18, 2020

Note: you might not be able to use this method (or any method) to keep your Glitch projects awake anymore, since Glitch has blocked ping services.

Glitch projects sleep after 5 minutes if they’re not used.

Then, the next time you access the project, you’ll see a loading screen for a few seconds:

If you have a Glitch project that you don’t want going to sleep, use

A cron job is a task that happens at a certain interval. In this case, we’re going to make a request to your Glitch project every 5 minutes so that it doesn’t fall asleep.

  1. Create a account for free, and then create a new cron job.
  2. Fill out the title, URL (your Glitch project link), and schedule it for every 5 minutes.
  3. Create the cron job.

Done! will make a request to your Glitch project’s URL every 5 minutes, keeping the project awake for free.

Subscribe to my newsletter!

A weekly round-up of new blog posts and updates to projects I’m working on.