Video
How does it work? It is a separate Python script that runs on the system that is hosting a Factorio headless server. Upon execution it gets the current time, compiles a set of commands to place stone blocks at certain coordinates, then feeds those commands to factorio-init. Cron ensures that it runs every minute, or however often you want it to update.https://gitlab.com/smew/factorio-clock