Scheduled Nightly Machine Reboot

(imported topic written by sonnyryan91)

Hi, I am relatively new to Bigfix but so far I am happy with the results we are getting out of it. However, we need some help setting up a nightly scheduled machine reboot for a group of users. They would get a message about the reboot and give them ability to cancel it. I tried using the Restart Computers Task available under the BES Power Management site to implement it. It would only reboot the machine on the first scheduled time and never reboot the machine again. We would like it to be a permanent task on the machine that does not expire (similar to a forever SMS advertisement). I tried deploying it as a policy and still did not work. I was thinking of using Uptime as relevant check and issue a shutdown command on the machine. Just want to know if there’s any easy and quick way of implementing this reboot task =)

Any advice would be greatly appreciated.

Thanks!

(imported comment written by Harald.Zarakowitis)

I think the problem is that since the reboot happened, the fixlet is marked as completed and even if it is a policy it will not be run again (unless BigFix detects that a reboot is necessary).

If I read your post correctly, you want the computers rebooted regardless of their state. I´d say you create an own task which Applicability is just

true

In Post-Action you set the restart.

In Execution you deselect “Ends on” and select “Run between” and put in a time. Also select “Automatically reapply this action if it becomes relevant again after it has successfully executed” (No Limit).

The action script should look like the following (Note: this is copied from the Restart Needed Fixlet):

continue 

if 
{not locked of action lock state
} action requires restart

Maybe there is an easier way, but that´s how I´d do it.

Best regards,

Harald