I have a Python script doing some job which takes up to 5 minutes, then it sleeps for an hour and starts again. As a free, crossplatform messaging solution, FCM allows developers to reliably deliver messages and notifications to iOS, Android, and web applications.Porcupine is a highly-accurate and lightweight wake word engine. It enables building always-listening voice-enabled applications. The payload contains any custom data that you want to send to your app and includes information about how the system should notify the user. In this guide, we will build a simple notification service using FastAPI and SQLite, where the primary focus is on managing notifications in a database. To receive messages, use a service that extends FirebaseMessagingService. Your service should override the onMessageReceived and onDeletedMessages callbacks. Deliver notifications that wake your app and update it in the background. Overview. I am running a python program that takes a few hours to complete.