Polling API for user go live

Most of mine use setInterval in node.js, but cron might be good for your use case. How often do you need to poll and what is your code written in?