How do I schedule a Windows server to run a method / function for the first day of the month? I could make a small console application and it was scheduled with the windows built in the task scheduler, but in the environment on which this deployment is required, it is not an option.
How will this be implemented with the timer or there should be a better option for me to see that this is not an environment due to a full month of service.
Windows One Object You can set timer to increase an event at any date / time. You can set the timer for 03/01/2014 at 11:55:37 pm, the timer has a 64-bit duration, so its range is other timers (such as System.Timers.Timer
and More than
The object does not have a .NET near that object, but I've written a cover for it. I wrote an article about the timer, but the site on which it was published is no longer online. Full code is available for the waiting timer in C #.
He said, using a given task is really the best option. I strongly suggest that you will see if you can make changes in the policy so that you can use it. One common problem is that administrators say that they do not want to set up a task with GUI, in any way it is not known that there is a command line program which gives you a GUI and more.
Comments
Post a Comment