Scripting in a Multiple User Environment
Scripting in a Multiple User Environment
- Subject: Scripting in a Multiple User Environment
- From: "Guy F. Colvin" <email@hidden>
- Date: Wed, 21 Feb 2001 08:27:04 -0500
Hi,
I manage several separate small labs with about 10 Macs each (running OS 9.1)
where users are logged in with a generic lab username and password. They are
set to log out after 15 minutes. The machines stay on throughout the week and
are restarted once over the weekend. I would like to execute a script every
night (afterhours) that would clean out any documents and changes that daytime
users have made. I've already created a script that will do this at startup -
however, I really want it to run at night.
I've found no way to get such a script to execute when no user is logged on
(in other words, when the MU log-in window is displayed). Is there any way
this can be done? In the worst case, I would be interested in a script that,
at a specific time, would log in to the owner's account, run my "cleanup"
script, and then log back out.
Thanks for any help or suggestions.
-Guy F. Colvin