Click here to Skip to main content
15,908,775 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,

I want to add method on my code.
This method run productceller methods on every day 6 am.
and run reportCaller methods on every day 7 am and its run reportCaller method every 15 minutes every day.

How can i do this?

i write some codes but its not working correctly.For example reportcaller method run 4 times but the product caller is not work etc.

How can i do this method and what can i use for?

What I have tried:

i use it timer,timespan etc but its not worked:(
Posted
Updated 7-Mar-17 23:52pm

1 solution

The problem you will find is that the app always has to run. Instead, you can use Window's Task Scheduler to launch an app to run a timed task. Now you only have worry about the tasks to be performed.

Windows Task Scheduler - Google Search[^]
 
Share this answer
 
Comments
Member 10525430 8-Mar-17 6:10am    
i dont want to run any application.
its in my code method.

Windows task schewduler run applications shedulerly.
However i wantto c# methods works shedulerly.
CPallini 8-Mar-17 6:13am    
You may run whatever method you want, once the Windows Task Scheduler started your application.
Member 10525430 8-Mar-17 6:15am    
are there any other options?
Member 10525430 9-Mar-17 0:29am    
Its Not work for me.
Does any other idea?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900