如何在Intelligent 5.5中创建和运行自定义任务
有人知道关于在Intelligent 5.5下创建自定义计划任务的任何资源吗 根据我所读到的,我需要做的是: 1.创建一个实现ITask2接口的类型如何在Intelligent 5.5中创建和运行自定义任务,telligent,Telligent,有人知道关于在Intelligent 5.5下创建自定义计划任务的任何资源吗 根据我所读到的,我需要做的是: 1.创建一个实现ITask2接口的类型 using System; using System.Collections.Generic; using System.Linq; using System.Web; using Telligent.Tasks; namespace Project.ScheduledTasks { public class ReminderTask:I
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Telligent.Tasks;
namespace Project.ScheduledTasks
{
public class ReminderTask:ITask2
{
public void Execute()
{
string task = "Please hit the breakpoint here";
}
public void Load(System.Xml.XmlNode node)
{
throw new NotImplementedException();
}
}
}
2.在communityserver.config中添加任务描述
<Thread minutes="1">
<task name="ReminderTask" type="Project.ScheduledTasks.ReminderTask, Project.ScheduledTasks" enabled="true" enableShutDown="false"></task>
</Thread>
我还需要做什么吗
请帮助:。是的,这就是您需要做的全部。你有什么问题吗