开发者

Scheduled task to run .aspx page stuck on running

Hey I have a scheduled task going which basically laucnhes a .aspx page with IE Explorer, i know theres better ways of doing this i.e console apps etc but im stuck with this fo开发者_JS百科r the moment.

So the scheduled task runs fine and launches the ie and the page and the script on the onload on that page runs fine to. But the IE window stays open and the tasks remains as "Running". Preventing it from running the next time its due to run.

How can I get the scheduled tasks to stop "running" and maybe even close that IE windows cheers!


If you're looking to just make a HTTP request to the page, instead of opening a browser window, (get Firefox, okay?), you could launch curl http://server/path/to/script.aspx which is a command-line app, which makes the request and then quits immediately after.

For this, you'll need to download curl from http://curl.haxx.se/latest.cgi?curl=win32-ssl

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜