Best hosting platform for my Telegram bot with scheduled tasks?

Hey everyone! I recently finished building a Telegram bot and now I need to deploy it somewhere reliable. The bot has a background task that executes automatically every half hour, so I need a hosting service that can handle scheduled operations without issues. I’ve been looking at different options but I’m not sure which one would work best for this type of application. The bot needs to stay running 24/7 and the periodic task is pretty important for its functionality. Has anyone here deployed similar bots before? What hosting providers would you recommend for this setup? I want something that won’t break the bank but is still dependable. Any suggestions would be really helpful!

heroku’s great, but they’ve axed the free tier now, so you’ll need to go the paid route. i’ve had my crypto alert bot on there for like 2 years - works like a charm, pings every 20 mins. the paid dynos stay awake, so your tasks sync smoothly. think basic dyno’s round $7/month, pretty fair! deployin’ is easy with GitHub too.

I’ve been running a similar Telegram bot with scheduled tasks for 8 months now and went with Railway after testing a few options. It handles background processes really well without cold start issues you get with serverless platforms. My bot syncs data every 45 minutes and Railway’s been rock solid maintaining that schedule. Pricing’s reasonable too - I pay $5-8 monthly depending on usage. Watch out for hosting providers that put your app to sleep during idle periods - it’ll mess up your scheduled tasks. Railway keeps everything running continuously, which is exactly what you need. Deployment’s straightforward with Git, and their logging makes monitoring scheduled tasks easy.

DigitalOcean App Platform has been rock solid for my notification bot - it’s been running 30-minute checks for over a year with zero downtime. Starts at $5/month and doesn’t have those annoying sleep issues you get with other platforms. Love that I can actually see my scheduled tasks running and track memory usage in real time. Just connect your GitHub repo and it rebuilds automatically when you push changes. Their docs cover background workers and cron jobs really well, so setup was easy. Pricing scales nicely as you grow, and I haven’t had a single random restart like my old host used to do.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.