---
title: "Comment by Pankaj Tanwar on \"How to stop Your Heroku app from sleeping😴 (FREE)\" | Hashnode"
description: "Nice writeup. I would recommend, rather then relying on a third party service, there are a few possible methods you can try - Write a Cron job on server to keep"
url: "https://hashnode.com/posts/how-to-stop-your-heroku-app-from-sleeping-free/6083c6edff5fc65284a7943b/comment/6084d12c70758d2ac1546090"
---

[Discussion](https://hashnode.com/posts/how-to-stop-your-heroku-app-from-sleeping-free/6083c6edff5fc65284a7943b)

Comment [How to stop Your Heroku app from sleeping😴 (FREE)](https://hashnode.com/posts/how-to-stop-your-heroku-app-from-sleeping-free/6083c6edff5fc65284a7943b)

[Pankaj Tanwar](https://hashnode.com/@pankajtanwar)

[Apr 25, 2021](https://hashnode.com/posts/how-to-stop-your-heroku-app-from-sleeping-free/6083c6edff5fc65284a7943b/comment/6084d12c70758d2ac1546090)

Nice writeup. I would recommend, rather then relying on a third party service, there are a few possible methods you can try -

1.  Write a Cron job on server to keep the application awake
2.  Self pinging your own server in each 20 min (put code in the main server file)
3.  Run a timeout based Google apps script to ping your server

Your thoughts?

[Hrithwik Bharadwaj](https://hashnode.com/@hrithwik)

[Apr 26, 2021](https://hashnode.com/posts/how-to-stop-your-heroku-app-from-sleeping-free/6083c6edff5fc65284a7943b/comment/6084d12c70758d2ac1546090#reply-6086375870758d2ac1547d62)

Yes this is a good solution which most of them use [Pankaj](https://hashnode.com/@pankajtanwar). Most of my articles are targeted for beginners who are just starting out and using Kaffeine Shots is extremely simple
