Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Method/Task scheduler c#

Tags:

c#

I'm using C#.
I think thats a noob question but i'm try anyway.
I have a C# project with methods: X(),Y(),Z().
I'm looking for a task scheduler that run for me every day/every hour my methods (X(),Y(),Z()) at diffrent times.
What is the best way to do that?

like image 590
CSharpBeginner Avatar asked Oct 18 '25 03:10

CSharpBeginner


1 Answers

Just make a console application that accepts a single parameter (think myapp.exe x) that would call respective function. Then add a number of scheduled tasks to Windows Scheduler and you'll be all set.

like image 180
Anton Gogolev Avatar answered Oct 20 '25 18:10

Anton Gogolev