Know if my channel is live and send back the info to all users of my website (React/Node)

But for using a cronjob, it would mean that my server can do automatically a request without me doing a manual action ? So I would need like a refresh token ?