Skip to content

cron: Fix time drifting bug.#890

Merged
ailin-nemui merged 2 commits intoirssi:masterfrom
RealKindOne:master
Nov 25, 2025
Merged

cron: Fix time drifting bug.#890
ailin-nemui merged 2 commits intoirssi:masterfrom
RealKindOne:master

Conversation

@RealKindOne
Copy link
Contributor

Currently the code does this:

  1. Get time
  2. Start sig_timeout at next hh:mm:00
  3. Re-run sig_timeout every 60 seconds. // This is the bug since it takes extra time (milliseconds) to run the command. That eventually adds up to seconds, then minutes...

My changes:

Re-run sig_timeout at every hh:mm:00

@ailin-nemui
Copy link
Contributor

@cvbge

@cvbge
Copy link

cvbge commented Sep 8, 2025

Hi :)

Now this is a surprise :)

I haven't used this script (or IRC/Irssi) for the last 20 years. Nice to see someone still uses the script, I forgot about it totally.

I'm not sure I can help with this pull request, I don't remember the code, Irssi API, or even perl that much...

@ailin-nemui
Copy link
Contributor

@RealKindOne please up $VERSION

@RealKindOne
Copy link
Contributor Author

@ailin-nemui fixed

@ailin-nemui ailin-nemui merged commit f5894e0 into irssi:master Nov 25, 2025
@ailin-nemui
Copy link
Contributor

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants