Glitch doesn't run unless project is opened


#1

Hi, This project which is a telegram bot that removes messages when people just say ‘hi’ only works when the project is opened in glitch. I thought it was meant to run continuously. Is this the case / is there something incorrect in my code?

Here’s the project: https://glitch.com/edit/#!/lean-chauffeur

Thanks!

Tom


#2

Hi @tomglynch!

Sadly Glitch does not keep projects awake on its own. You’ll need to use a third-party program that pings your project every x minutes. I would suggest using UptimeRobot to keep your project awake by pinging it every 5 minutes. If you do choose to use this option you’ll need to create an endpoint that UptimeRobot can access. If you haven’t done that or don’t know how to here’s a link to another post where someone answers that question.