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.

2026-04-16T15-38-54.000Z
2026-04-16T15-38-59.000Z
2026-04-16T15-39-04.000Z
2026-04-16T15-39-09.000Z
2026-04-16T15-39-14.000Z
2026-04-16T15-39-19.001Z
2026-04-16T15-39-24.000Z
2026-04-16T15-39-29.000Z
2026-04-16T15-39-34.000Z
2026-04-16T15-39-39.000Z
2026-04-16T15-39-44.000Z
2026-04-16T15-39-49.000Z