开发者

How to schedule a webpage to be executed on daily basis on shared hosting?

开发者 https://www.devze.com 2022-12-25 00:34 出处:网络
I i want to schedule an asp.net page on my hosting, how to a开发者_C百科chieve it? for instance, i have a page named myservice.aspx runing on my website.com/myservice.aspx

I i want to schedule an asp.net page on my hosting, how to a开发者_C百科chieve it?

for instance, i have a page named myservice.aspx runing on my website.com/myservice.aspx

i want to run this page on every 24 hours. any idea?


You can use service like onlinecronjobs.com to execute pages.


You could setup a scheduled task with a little .bat file that just opens the web page.

(Not sure if that's what you mean by "run" the page)


i tried onlinecronjobs.com but i got some erros, then i tried setcronjob.com, and everything looks fine but i notice that the free account has an expiration of 31 days, and then I found this one, which looks very good and the free account for 5 jobs looks like it doesn't has any expiration, here is my suggestion:

http://cronless.com/

Thanks, Chris


I'd rather go with Andy's solution, but I just thought of a weird one:

Set a javascript timer on the page to refresh the page every 24 hours. Then leave the page open in a browser on a computer you'll never log out of.

0

精彩评论

暂无评论...
验证码 换一张
取 消