Max
Max

Reputation: 3

How to automate a windows form application without windows scheduler?

I need to make an application which automatically moves files from source folder to destination folder on specified "time"(2 different times in a day). Once entered, this app should run daily. I have made a form application which moves file perfectly on button click. I need to implement this without any button click interaction.

Scheduling using Windows Task Scheduler is not an option for me.

Upvotes: 0

Views: 223

Answers (1)

Farrukh Manzoor
Farrukh Manzoor

Reputation: 94

One way I have achieved exactly that by creating a windows service project and put all the button click logic in a class library.
For scheduling the service i used Quartz.Net so that it can triggers the job/service at given interval.

You can find more about Quarts.Net here.

Please do note that you need administrative access to install and run your windows service.

Upvotes: 1

Related Questions