title: scheduled task onlogon repeat
body: <p>I need to set a Windows scheduled task that runs at logon and repeats at a given interval (say hourly for this case).</p>
  
  <p>Basically, I want to do this via command line: <a href="https://dl.dropbox.com/u/19514611/Capture.PNG" rel="nofollow">https://dl.dropbox.com/u/19514611/Capture.PNG</a></p>
  
  <p>Microsoft's schtasks.exe page (found here: <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357%28v=vs.85%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/windows/desktop/bb736357%28v=vs.85%29.aspx</a>)  seems to imply you can't set any repetition for an ONLOGON event via command line, but can via the wizard.  Is this accurate?</p>
  
  <p>EDIT:</p>
  
  <p>After further research, I've found that I can export this configuration as an XML and build the task using the xml.  Is this the way I should go about this?  It will require something to parse out and generate a new xml file for each user (less than ideal) and I'd much rather do this via command line.</p>