Re: Scripting in a Multiple User Environment
Re: Scripting in a Multiple User Environment
- Subject: Re: Scripting in a Multiple User Environment
- From: "Dan Robinson" <email@hidden>
- Date: Fri, 23 Feb 2001 11:51:06 -0500
Bill Cheeseman expostulated:
>
> Use "Energy Saver" to wake up the computer and...
>
On my computers, that will only wake my computers from sleep.
>
The poster wanted to shut down and then restart, I think, in
>
order to clean up all the computers in the lab.
----------
System Folder
Startup Items
Empty Trash.app
Tasks
Trigger.script
Clean Root.app
Clean Desktop.app
De A O L.app
Restart.app
----------
Sorry if I wasn't complete enough in my post. You are absolutely correct, Bill. Energy Saver DOES only wake up the computer. However, two minutes later, iDo Script Scheduler triggers the script, "Trigger.script" (see above) which is inside the "Tasks" folder. "Trigger" does its thing (such as replacing the font folder with a standard set), and then runs "Clean Root," "Clean Desktop," and "De A O L" if needful. Finally, it runs "Restart."
I put "Empty Trash" in the Startup Items folder because you can't empty the trash of the active fonts and busy apps which were put there by "Trigger" and "De A O L."
By the way, another triggered script runs every 15 minutes and looks for forbidden files such as Napster. If it finds a forbidden file, it shuts the machine OFF without warning!
The culprit invariably comes complaining that his computer keeps shutting down.
GOTCHA!!
--Dan
Main e-mail address: email@hidden