I would like to find out how to automate the running of an existing windows data collection/update application so that it can run on a remote windows server at hourly intervals.
The existing application has a single form with a start button , a progress bar and a close button.
At the end of the application I already call the close method so I would just like know how to call the start button once the form is loaded. I need to be able, if needed, to monitor the progress of the application by viewing the progress bar.
Get rid of any UI and use a console helper app instead for these kind of data collecting tasks. For monitoring just use system.log (e.g. App started… stopped… etc) and your Windows Event Viewer .
All windows apps can be scheduled. Read more… or you can daemonize this console app with SC Read here…
many thanks