[THIN] Re: Shutdown (with intelligence)

  • From: "Mack, Rick" <RMack@xxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Tue, 23 Jul 2002 10:38:35 +1000

Hi Anthony,

We get rid of users before reboots with scripting so checking if there are
active sessions at 10 minutes intervals with messages between times and then
aborting the reboot shouldn't be too hard.

The basic idea is to schedule the script, and let the script initiate a
reboot, or abort depending on active user sessions. That way you don't have
to waorry about rescheduling a reboot, just running the script at regular
intervals.

Regards,

Rick

Ulrich Mack
rmack@xxxxxxxxxxxxxx
Volante Solutions
18 Heussler Terrace, Milton 4064
Queensland Australia.
tel +61 7 3246 7777



-----Original Message-----
From: Anthony_Abraham@xxxxxxxxxxxxxxx
[mailto:Anthony_Abraham@xxxxxxxxxxxxxxx] 
Sent: Tuesday, 23 July 2002 8:05 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Shutdown (with intelligence)


We currently use AT to schedule nightly reboots using shutdown.exe.  Is
there an easy way to schedule intelligent reboots where it will not reboot
if there are users on the system.  I want to be able to schedule a reboot
for say 3am.  I want the batch job to check for any user connections, if so,
want it to re-schedule itself to try again say 20 minutes after.  If there
are no connections, it reboots, if there are, it reschedules again (lets say
it retries for 5 attempts) - if there are users constantly on, it leaves up
and tries again the next day.

Has anyone implemented such a thing via scripts or any other utility?

Thanks
Anthony



CAUTION - This message is intended for the addressee named above It may
contain privileged or confidential information. If you are not the intended
recipient of this message you must not use, copy, distribute or disclose it
to anyone other than the addressee. If you have received this message in
error please return the message to the sender by replying to it and then
delete the message from your computer.

Internet emails are not necessarily secure. Royal & SunAlliance does not
accept responsibility for changes made to this message after it was sent




===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at: http://www.tricerat.com/?page=products&product=sdfxp

===================================
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm


 
**********************************************************************
This email may be confidential and/or privileged. Only the intended 
recipient may access or use it. Any dissemination, distribution or
copying of this email is strictly prohibited. If you are not the
intended recipient please notify us immediately by return email and
then erase the email.

We use virus scanning software but exclude all liability for viruses 
or similar in any attachment or message...,..,..,.

 
**********************************************************************

Other related posts: