How-to

goCron in action

This Cron job is executed by a Go "server". The same Go html template is updated and rerendered (Javascript) every 5 seconds which can cause some minor "flickering" in some browsers.

After 60 seconds the file is cleared and the page starts over again.

I think that updating a web page normally is done by Javascript only. But a Cron task created by Go could do many other things that Javascript may have limitations.

2024-02-28T18-20-32.000Z
2024-02-28T18-20-37.000Z
2024-02-28T18-20-42.003Z
2024-02-28T18-20-47.000Z
2024-02-28T18-20-52.000Z
2024-02-28T18-20-57.000Z
2024-02-28T18-21-02.000Z
2024-02-28T18-21-07.000Z
2024-02-28T18-21-12.000Z
2024-02-28T18-21-17.000Z
2024-02-28T18-21-22.003Z