LANrev™ Network Management
Automated. Intelligent. Cross-Platform.


Support forum for the LANrev™ Network Management Utility

Register FAQ Memberlist Search LANrev Support & Discussions Forum Index

LANrev Support & Discussions Forum Index » General Technical Questions » "Forcing" a restart every week
Post new topic  Reply to topic View previous topic :: View next topic 
"Forcing" a restart every week
PostPosted: Thu Feb 11, 2010 9:19 am Reply with quote
rfn
 
Joined: 17 Apr 2008
Posts: 52


Hi,

Is there any way that I can use LANrev to force users to restart regularly, say once every week?

Some of our users like to keep their computers on all the time so they avoid having to wait for it boot in the morning. This is troublesome both because it consumes power but also because they don't receive new packages and OS patches that I push with LANrev.

Can I use LANrev to push a script that displays a dialog when a computer has been turned on too long? This would be both on Windows and Mac.

_________________
Regards,
René Frej Nielsen
View user's profile Send private message
PostPosted: Fri Feb 12, 2010 1:46 am Reply with quote
bgt
LANrev Team
LANrev Team
 
Joined: 26 Jul 2006
Posts: 727
Location: USA


Yes. It's actually really easy. Assign a power management schedule to reboot the machine or other power management schedules with the Power Management Settings command to do this. So here's an example.

Mon-Fri 9am-6pm, put machines to sleep after 20 minutes.
Mon-Fri 6pm-9am, put machines to sleep after 5 minutes
Weekends all day, put machines to sleep after only 2 minutes
Fri at 7pm, shut down machine but only if user not logged in

Be sure to save this as a power management profile so you can reassign to other computers in the future. These will take effect on target machines even if they're not on the network and users cannot disable since it's enforced by the agent and there's no end user UI. Users will always get a 2 minute warning from the agent with an option to cancel if they are still working.

Bao
View user's profile Send private message Visit poster's website
PostPosted: Sun Feb 14, 2010 1:28 pm Reply with quote
rfn
 
Joined: 17 Apr 2008
Posts: 52


This wouldn't be exactly what I want, because I'm not sure that I want to force a certain power manamgent schedule on our users. Maybe at some time, but not right now and it would have to be an executive decision.

I "just" wanted some kind of a "counter" that checked if the computer had been rebooted in a week, and if not then display a warning to the user. If the user didn't react in a reasonable time, then the computer should just be rebooted.

_________________
Regards,
René Frej Nielsen
View user's profile Send private message
PostPosted: Tue Feb 23, 2010 9:47 pm Reply with quote
bgt
LANrev Team
LANrev Team
 
Joined: 26 Jul 2006
Posts: 727
Location: USA


There's not a really easy way to do this in the existing product with the logic you want. The closest thing is to have a single schedule to have the system restart once a week on a Friday night.

The only way to add logic to this to keep track of the time is to schedule an at or cron job that checks the uptime of a client machine and if it's longer than a week then have it reboot.

Bao
View user's profile Send private message Visit poster's website
PostPosted: Tue Feb 23, 2010 9:55 pm Reply with quote
rfn
 
Joined: 17 Apr 2008
Posts: 52


I guess that you're right... Until I find someone to write that script which could check the uptime once every day, then I might just force a restart on the users...

_________________
Regards,
René Frej Nielsen
View user's profile Send private message
"Forcing" a restart every week
  LANrev Support & Discussions Forum Index » General Technical Questions
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT + 1 Hour  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  



Powered by phpBB © phpBB Group
Theme designed for Trushkin.net | Themes Database.