AS Click Counter
AS Click Counter
- Subject: AS Click Counter
- From: Simon Topliss <email@hidden>
- Date: Fri, 07 Dec 2001 10:30:11 +0000
I've written quite a few scripts where I work that automate various
processes. I've been asked to add some kind of 'click counter' to each of
the scripts so we can record how many times a script is run. That will
enable us to calculate time savings per script (manual versus automatic).
I can't decide on the best approach for this. It would be simple to write to
a log file on each of the client macs when each script is run, but then I
would have to figure out a way to automatically get the logs from about 100
macs each week.
I think the best approach I have so far would be for me to set up a mac on
our network that is able to receive an apple event over IP sent by the
scripts when launched. This raises other questions:
Is there an application out there that can receive apple events over IP that
is suitable? Could/should I use an application like BBEdit to receive the
calls and write to a log file?
If I write my own stay open applet and install that on the server, what
happens when it receives multiple calls at the same time?
Any other ideas/suggestions would be really appreciated.
Simon