How to implement an automatic task in asp.net
-
Hello, Into my asp.net application i want to create a task to do something at some hour, for example twice a day i.e 6:00 PM and 10:00 PM I think about web service but i don't know if this is the best method. Have you any suggestions about this subject. thank's in advance
-
Hello, Into my asp.net application i want to create a task to do something at some hour, for example twice a day i.e 6:00 PM and 10:00 PM I think about web service but i don't know if this is the best method. Have you any suggestions about this subject. thank's in advance
In my case, my ISP was providing that service so I only have to indicate which page to execute and when. We are using ISQ Solutions.
Philippe Mori
-
In my case, my ISP was providing that service so I only have to indicate which page to execute and when. We are using ISQ Solutions.
Philippe Mori
Bonjour Philippe, Thank's for your reply, have you some link about this technic (ISQ Solutions) i never use it nor hear from it. Thanks
-
Hello, Into my asp.net application i want to create a task to do something at some hour, for example twice a day i.e 6:00 PM and 10:00 PM I think about web service but i don't know if this is the best method. Have you any suggestions about this subject. thank's in advance
ASP.NET is request based, nothing happens until a request has been made from a client, so there is no automatic mechanism. You would need to create a Windows Service or use Scheduled Tasks on the server. Or do the same thing on a client machine that may call a webservice on your server.
No comment
-
Bonjour Philippe, Thank's for your reply, have you some link about this technic (ISQ Solutions) i never use it nor hear from it. Thanks
ISQ Solutions[^] is hosting provider. With them, we can create tasks that are executed up to 12 times per hour. A task is simply a web page address that should be called. You can then implement your task when that page is asked. I don't know if this is common on host providers to provide such service. We select them first and they have that so I have used that. If you were running your own server, I think it would be very easy to implement task anyway you want but on shared hosting, you have to do with what you have...
Philippe Mori