Hi @Bene_Immanuel ,
I would suggest to use Scheduled Events
This will make sure that if API rate limits are reached the syncing should resume after 5 mins.(5 mins is minimum for schedule events)
You can go through this sample app which sets schedule events after API rate limits are reached.
Also please share the server logs for more info on debugging.
Do you mind expanding on this to help us understand what “stops working” means?
Are there logs or other events that help conclude the app is not working for a day? Have you found anything interesting in the logs perhaps? Does the app log any and all errors and exceptions?