in reply to Re^2: Rolling variable
in thread Rolling variable

you could easily adopt this into a script and have it run every hour. call it from your main script. spit any output to files if needed. go ahead modify it as needed :)))