>> Are there any pre-built features in MacPerl that allow me >> to get uptime/total uptime? > >What you're really asking is, "are there any pre-built >features in the MacOS to support uptime statistics". > >I'm not aware of any, but this seems like it would be easy to >create. Just make a little MacPerl droplet to read the system >clock and save it to a file. Put this droplet into your >startup folder so that it runs every time the computer starts >up, thus providing a timestamp of the last restart. Then you >just need another MacPerl script to read the timestamp from >the file and compare to the current time. Seems like it >should work... anyone see an obvious problem? > >jay > Put another MacPerl droplet in the "Shutdown Items" folder that reads the system clock and saves it to the file. Both droplets should also include an indication as to whether the time indicates startup or shutdown. Then it's just a matter of math. David Seay # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org