How to keep your Glitch project from sleeping
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 cron-job.org.
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.
- Create a cron-job.org account for free, and then create a new cron job.
- Fill out the title, URL (your Glitch project link), and schedule it for every 5 minutes.
- Create the cron job.
Done! cron-job.org will make a request to your Glitch project’s URL every 5 minutes, keeping the project awake for free.