简体   繁体   中英

How to schedule a task without using windows service or task Manager in ASP.NET?

My tasks are like sending a report in mail.Currently my tasks are scheduled in windows service which is installed in my project server. There are repeated changes in my tasks where i need to install/uninstall my windows service for which i might need to reboot the system and Other applications are hosted in that server if some thing is wrong in my service. any guidance/idea in the design is much appreciated. Thanks

First, I write the service to respond to the stop/start cycle properly. Once stopped you should be able to update the executable without uninstalling first.

If that is somehow not possible, and I would like to know the scenario, you could always write your service to perform a web call to a remote service to perform the desired functionality.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM