title: Console app scheduled task run two different ways
body: <p>I have a program for a client that needs to run one set of code every 30 minutes via a scheduled task.</p>
  
  <p>at 1:30 am it needs to run a separate set of code.</p>
  
  <p>Both sets of code will generate a file and place it in a directory.</p>
  
  <p>How do I set it up to be able to run two sets of SQL code?</p>
  
  <p>I could do it getting the current date time and comparing it but that seems bulky to me.</p>
  
  <p>Is there a way a schedule task can run a program which would pass in something to my Main(string[] args)?</p>
  
  <p>Is there a correct way to do it without creating two separate apps?</p>