如何在mvc中使用计时器。

编程入门 行业动态 更新时间:2024-10-11 05:22:05
本文介绍了如何在mvc中使用计时器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是一个新鲜的,我正在一些网站上工作,我有一些问题请任何人帮助我, 当指定特定任务的到期日期时到达它应该通过自动发送电子邮件通知他们.. i知道逻辑,但不知道如何使用代码,任何人都可以帮助我。 该课程将根据时间或刻度帮助发起活动 当有事件被解雇时 check过期证书的数据库 尚未收到通知 你可以在数据库中添加通知计数 IsNotifiedEmail IsNotifiedSMS NotificationCountEmail NotificationCountSMS

Hi am a fresher, am working on some website, i have got some problem please any one help me, when a expiry date of a particular task assigned is reached it should notify them by automatically sending emails.. i know the logic but donno how to satrt with the code, can any one help me out there. The Class will help to fire a event based on time or ticks When ever there is event fired check the DB for expired certificates which has not been notified in the DB you can add Notification Count IsNotifiedEmail IsNotifiedSMS NotificationCountEmail NotificationCountSMS

推荐答案

以下是jQuery网站本身的示例代码 Here is a sample code from the jQuery site itself var times = chunks.length;

(document).everyTime( 1000 ,函数(i){ processChunk(i); },次); (document).everyTime(1000, function(i) { processChunk(i); }, times);

这里每1000次调用processChunk函数( 1秒)没有时间变量中提及的时间。如果时间为0(零),那么processChunk函数将每1000个无限期调用。 谢谢, -RG

Here the processChunk function will be called every 1000 (1 sec) no of times as metioned in times variable. If times is 0 (zero) then the processChunk function will be called every 1000 indefinitly. Thanks, -RG

更多推荐

如何在mvc中使用计时器。

本文发布于:2023-11-27 16:27:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1638745.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:计时器   如何在   mvc

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!