每24小时执行一次的功能 [英] function executing itself after every 24 hours

查看:129
本文介绍了每24小时执行一次的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

assalamualaikum ...
我想知道是否有任何功能可以每24小时自动执行一次吗????????????????

assalamualaikum...
i want to kno is there any function will can execute automatically by itself after every 24 hours????????????????

推荐答案

您可以使用Windows任务计划程序来计划任何任务.

控制面板->计划任务->添加计划任务
You can use the windows task scheduler to schedule any task.

Control Panel -> Scheduled Tasks -> Add Scheduled Task


您好,
首先,请确保您的问题明确.有很多方法可以执行函数本身,但取决于应用程序中的需求.因此,请提供有关您的查询的更多信息.
Hi,
First of all make sure your question was clear. There are many ways to execute a function itself but depends on the requirement in the application.So give more information regarding ur query.


您的需求符合Windows Service的需求.

在定义的/特定的时间间隔后,可以使用相同的方法执行方法.

了解有关Windows服务的信息:
MSDN:Windows服务 [简单Windows服务示例 [
Your requirement fits in for a need of Windows Service.

After a defined/specific interval of time a method can be executed using the same.

read about Windows Service:
MSDN: Windows Service[^]
Simple Windows Service Sample[^]


这篇关于每24小时执行一次的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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