dreeves/TagTime — Issue #6: Python tagtimed
Author: AdamG
Created: 2011-10-24 20:15:58+00:00
State: open

I've written a python implementation of tagtimed, it's here:

https://gist.github.com/1309979

It's not really fit for inclusion - it doesn't have the same behavior, and it still launches ping.pl to do the heavy lifting during each ping. Usage is "./tagtimed.py 1800" or "./tagtimed.py 30m"; it needs to be in the same directory as ping.pl.

My issue with tagtimed.pl is that I just don't see xterm launched most of the time. I don't have anything weird in my settings, and I see the pings in the output of tagtimed.pl (I keep it foregrounded), just no xterm. When it does launch, I have a bunch of RETRO entries to fix, for which I can't accurately guess what I was doing, so it cuts down on the utility a lot.

I spent some time trying to figure out what was going on, but my perl-fu leaves a lot to be desired, so I just did this instead. Note that it doesn't use the same timing algo as the perl version, it just randomly picks a time now + (0 < x < interval*2).

Anyway - mostly just leaving this here in case someone else has this issue.