I am running a lightweight API in the OpenShift Cloud. I just realized that after 48h the application goes into IDLE mode. Is there kind of a ping service to avoid this issu
The OpenShift Online Bronze Plan is actually a free upgrade OpenShift offers in exchange for adding a credit card to your account. The Bronze Plan disables application idling and adds support for team management and custom SSL certificates. You don't have to pay anything and you still get three Small gears for free.
Just upgrade to Bronze - don't mess with all the Pingdom/Uptimerobot garbage. Check out the updated pricing page(s), I think they're making this pretty clear now:
UPDATE: Small gears now idle after 7 days of inactivity on the Bronze (and Silver) Plan, versus 24 hours of inactivity on the Free Plan. Production gears (Small.highcpu, Medium, and Large) still never idle.
You could also pay for a bronze account with a paid gear and it won't idle. It is because you are in the free tier that we idle if nobody is accessing your app. Just an explanation.