title: How to schedule restart of Windows machine at the end of recipe run instead of chef-client run?
body: <p>I am currently using <a href="http://docs.opscode.com/lwrp_windows.html" rel="nofollow">WindowsRebootHandler</a>, to restart the machine at the end of chef-client run (i.e, after running all the recipes).</p>
  
  <p>Is there any way to schedule restart of the machine at the end of each recipe run instead of chef-client run?</p>
  
  <p>Even when I tried with timeout 0 on <code>windows_reboot</code> function, restart happened at the end of chef-client run.</p>