[K12OSN] Auto shutdown certain clients

Jeff Siddall news at siddall.name
Thu Apr 15 20:12:13 UTC 2010


On 04/14/2010 08:18 PM, Barry Cisna wrote:
> Jeff,
> 
> I am not sure how you would ever devise a script to 'best guess' the
> correct time to shut down a 'sitting idle' tc? In regards to assigning
> an ip per tc,this way you can track what tc's you want to in fact shut
> down.
> Here is the example shown in the link i posted. Like you said this would
> be only good for an daily occuring at xx-time,so may not be of any use
> for your needs.
> 
> ltspinfo --shutdown -h ltsp040
> 
> -run the above as a scheduled cron at hour x / days -1,2,3,etc-
> 
> (If you wanted multiple ip's in one scheduled cron simply
> "ltsp040,ltsp041,ltsp042") #double quotes with comma separated
> 
> This would *not* shut down all clients.
> 
> Barry

Yes, I understand this solution but it does not solve my problem because
it happens at a specific time.  What I am looking for is something that
shuts down the TC some amount of time (ex: 12 hours) after it was turned on.

Jeff




More information about the K12OSN mailing list