5 ms·
This can be mitigated by having cron hit your site every few hours. There are some free cron services like https://www.setcronjob.com/ https://www.setcronjob.co
by ceejayoz 14y ago
This can be mitigated by having cron hit your site every few hours. There are some free cron services like https://www.setcronjob.com/ https://www.setcronjob.com/ that do this.
- Fuzzwah 14y agoWelcome to the cloud, where you need to rely on a third party service to keep your other third party service online. Of course, what happens when setcronjob.com goes down.... well you then use pingdom to check that it is up...... down the rabbit hole we go!
- goldfeld 14y agoWelcome to the web, where you get an easy hosting service like Heroku without paying a dime and then complain about how you need to put some effort to hack the system so you can continue to pay nothing.
- yesimahuman 14y agoJust to be clear: I am paying $70/mo for SSL and Postgres, so it's not that I'm paying nothing. However, based on the minimal server requirements for my app (most users are using our client-side Javascript tools), one dyno "should" be enough.
- ceejayoz 14y agoI really can't blame Heroku for spinning down non-paying instances that don't get a single hit in 6 hours.
- nasalgoat 14y agoI completely agree, but sometimes third party tools are better than baking in-house, especially single purpose services. App crash analytics for example, or performance trending tools like NewRelic. But cron? That's just ridiculous.
- thruflo 14y agoOr enable availability monitoring with the (free) newrelic addon.