Part of the Samples Website. 8/16/97.


«a dual function agent
«if the system has been idle for more than 10 minutes, save the database
«if not, I added a little hack that keeps my Jaz disk spun up as long as I'm active
«install this script at system.agents.keepJazSpin
if clock.idleTime () > (60 * 10) ()
else «keep the Jaz disk running
local (vol = "Jaz Disk 1:", f)
f = vol + "" + random (0, 100)
toys.writewholefile (f, "abc", 'TEXT', 'MSIE', ())
file.delete (f)
clock.sleepFor (60)

This page was last built on Sat, Aug 16, 1997 at 6:43:31 PM. You can download the current set of sample scripts from our FTP site. Dave