8 Aug 03:31
A generic function/framework/mechanism for regular polling of data?
From: Richard Hartmann <richih.mailinglist <at> gmail.com>
Subject: A generic function/framework/mechanism for regular polling of data?
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-08-08 01:33:44 GMT
Expires: This article expires on 2008-08-22
Subject: A generic function/framework/mechanism for regular polling of data?
Newsgroups: gmane.comp.shells.zsh.devel
Date: 2008-08-08 01:33:44 GMT
Expires: This article expires on 2008-08-22
Hi all, I was wondering if a function existed that will use a pattern, target variables, interval & a data source for polling & parsing information regularly. For example, this function could be told to poll ACPI power status every X seconds and put the result into $foo. The same function could also keep track of unread mail, the temperature of CPU, HDD, etc and pretty much antything else you can get from a file or program and put all of those values into variables. Does any function like this exist? Richard
RSS Feed