如何使用Asp.net计时器 [英] how to use the Asp.net timer

查看:259
本文介绍了如何使用Asp.net计时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

any1可以帮助我我只想在12:00 pm运行某些代码,而我根本不能使用asp.net计时器...关于该怎么做的任何建议?

创建一个exe并按计划使用Windows任务每天在中午12:00运行代码.


您不希望使用asp.net来执行此操作.为此,请使用Win32应用程序.只需使用其他项目类型,然后在编译应用程序后将其设置为在Windows Task Scheduler中自动运行.如果您在使用Windows Task Scheduler时需要帮助,请使用google获取信息,因为那里有很多负载.


can any1 help me i want to run certain code at 12:00pm only and i simply cant use the asp.net timer... Any suggestions on what to do???

解决方案

create an exe and use windows task schedular to run your code daily at 12.00 PM


You won''t want to do this with asp.net. Use a Win32 application for this purpose. Just use a different project type and after you compile the application set it up to run automatically in the Windows Task Scheduler. If you need help on using the Windows Task Scheduler, use google to get information as there is loads of that out there.


这篇关于如何使用Asp.net计时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆