如何在mvc中使用计时器

如何在mvc中使用计时器

本文介绍了如何在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

推荐答案

var times = chunks.length;








这里每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中使用计时器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 11:03