这个项目的难点在于调度任务。
Linux中的调度任务是一项复杂的任务。
换而言之,活动的任务越多,调度任务所花费的时间越长。
In other words, the more tasks (n) are active, the longer it takes to schedule a task.
调度任务活动会定时触发任务,现在是每天一次。
The Schedule Job activity triggers the job on a timely basis, here once daily.
这个算法根据任务的实际执行代价来调度任务。
This algorithm is able to schedule tasks according to the actual execution cost of tasks.
算法RTFTRC在调度任务时,尽量使系统的可靠性代价最小;
The RTFTRC algorithm allocates each task to the processor, which gives rise to the minimum reliability cost.
在这种调度器中,调度任务所花费的时间是一个系统中任务个数的函数。
In this type of scheduler, the time it takes to schedule a task is a function of the number of tasks in the system.
这些算法的主要特点是,它们均要求被调度任务的特征参数为已知条件。
The principal limitation of these approaches is that the attributes of the tasks have to be known.
不过,您可能不会处理非常多的调度任务,以至于需要使用消耗大量内存的应用程序。
But you may not deal with enough scheduling tasks to need a gigantic-memory-footprint application.
我把程序执行调度任务留给读者,因为执行这些任务的与系统相关的方法通常比简单的编程方法高级。
I leave the task of scheduling the execution of the program to the reader, as system-dependent methods for doing so are often superior to simple programmatic ones.
例如,如果不允许通过命令行运行msgs . cgi脚本,那么需要考虑使用另外的方法来调度任务。
For instance, if you prevent msgs.cgi from running from the command line, you will need to think of another solution for the scheduled tasks.
在调度任务明确的情况下,该系统可以准确计算正确具体的操作步骤,并动态展示管道油品的流动方向。
In the scheduling task-specific circumstances, the system can calculate the concrete steps accurately and shows the flow direction of oil pipeline dynamically.
通过对停电申请、调度任务票、交接班记录等,以及密钥等的管理以及数字签名在系统中的实现,使得本系统成为一个高效、完善、安全的管理信息系统。
The management of power-cut application, dispatching task note and secret key etc and the application of digital signature can ensure that the system is an efficient, secure, and powerful MIS.
更好的办法是使用在预定义时间间隔调用php脚本的cron作业或调度任务,php脚本在被调用之后生成rss提要并保存到名为rss . xml的文件中。
A better solution might be to have a cron job or scheduled task that calls a PHP script at pre-defined intervals, which in turn generates the RSS feed and saves it to a file called rss.xml.
但是不要忘了调度类是任务结构本身的一部分(参见图2)。
But recall that the scheduling classes are part of the task structure itself (see Figure 2).
可根据需要调度和配置每个任务。
将任务提交给调度程序实例以进行创建。
这个标识符稍后将用于停止任务调度。
This identifier may be needed subsequently to stop task scheduling.
本图演示了周期性任务调度。
每个任务都属于一个调度类,这决定了任务将如何调度。
Each task belongs to a scheduling class, which determines how a task will be scheduled.
例如,可以将这些理念应用到传统的嵌入式系统当中,取代原有的调度程序来进行任务调度。
For example, you could implement these ideas in traditional embedded systems in place of a traditional scheduler for work scheduling.
成功安装程序之后,你就可以使用并且寻找你想要调度的任务了。
Now after the app has been successfully installed, you can begin to play around and find out what tasks you’d like to schedule.
例如,每个调度器提供一种方式,添加要调度的任务、调出要运行的下一个任务、提供给调度器等等。
For example, each scheduler provides a way to add a task to be scheduled, pull the next task to be run, yield to the scheduler, and so on.
通过线程,可以优先调度重要任务—甚至中断—低优先级任务。
With threads, important tasks can be scheduled to take precedence over-and even interrupt-lower-priority tasks.
工作队列接口是在2.5的开发过程中引入的,用于取代任务队列接口(用于调度内核任务)。
Workqueue interface is introduced in 2.5 development to replace the task queue interface (used to schedule kernel tasks).
进行工作调度和任务执行的日常管理
Perform ongoing management of job scheduling and execution tasks
自动化的或有条件的标准任务调度
当schedule函数开始确定下一个要调度的任务时,它会调用 pick_next_task 函数。
When the schedule function comes to identifying the next task to schedule, it calls the pick_next_task function.
fTASKINFO(5):任务信息调度的任务,比如调度的流程实例删除或等待活动。
F TASKINFO (5) : task information scheduled tasks such as scheduled deletion of process instances or wait activities.
set_curr_task:当任务修改其调度类或修改其任务组时,将调用这个函数。
set_curr_task: This function is called when a task changes its scheduling class or changes its task group.
应用推荐