Glitch automatically stop my project?

I also added ping in my Project but glitch stop it in nighttime ?

1 Like

We sometimes need to restart services to apply updates, but we don’t routinely stop projects. We recommend using http requests to an end-point to wake projects for this reason, as this works around this occasional interruption.

I already have that , but maybe because of that restart it is happening

If you do, then your project will be woken after a request and should resume ok. Is this not happening? Or are you using a setinterval to ping your app instead?

This is what I am using const http = require(‘http’);
const express = require(‘express’);
const app = express();
app.get("/", (request, response) => {
console.log( + " Ping Received");
setInterval(() => {
}, 280000);

So that uses setInterval, which requires your project to be running and will thus get interrupted. If you used a web cron service then it hitting your project would wake it and set it going again after any interruption.