plugins/script: start ticks within one second of the minute