My bot goes off automatically as soon as I leave glitch. I want to keep it online 24/7.Help
Can I make my project stay online?
You may have noticed that glitch app shuts off after about 5 minutes of not being open. You can solve this be pinging your bot with an external site. Services, such as Uptime Robot, cron-job.org, etc. can be utilized to achieve that. Note that your app will reboot after 12 hours but is barely noticable, unless you have a big startup time.
Do you know any alternatives?
Check out this tutorial by anidiotsguide: https://anidiots.guide/other-guides/hosting-on-glitch
There’s something called Freshping, and I really recommend it. The minimum ping is one minute, so it stays online basically forever unless you edit it or have errors in your code.
This guide actually worked .
Glad I could assist!
Yeah, that’s the minimum. Projects with Uptime Robot sometimes go offline due to their API sometimes being slow. Freshping is sometimes slow, but with it’s 1-minute interval it can surely keep your project up rather than it going down for a few seconds.
And glad I could help!