CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Location
    Harrisburg, PA
    Posts
    23

    [RESOLVED] Program that executes at scheduled times

    I have been tasked with creating a program that will run on our ftp server (Windows Server 03) and create files at configured times for our clients to pick up. It would need to be able to be configured via GUI also.

    I have two ideas:

    1) Create a windows service application that will execute at configured times (I'm not quite sure on how to actually work the time part out). Use windows forms to edit/create the config file

    2)conversely I was thinking of just creating a plain old console application that will do the task and be managed via the windows task scheduler. Use windows forms to edit/create the config file

    Can I get your opinions on which would be the best route?

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Program that executes at scheduled times

    Scheduling jobs should be task of operating system, so I think the second one is better.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured