计算机与现代化 ›› 2012, Vol. 208 ›› Issue (12): 153-156,.doi: 10.3969/j.issn.1006-2475.2012.12.040

• 应用与开发 • 上一篇    下一篇

一种高可用性的计划任务管理方法

侯增江,王勇,饶磊   

  1. 西北工业大学计算机学院,陕西西安710129
  • 收稿日期:2012-07-30 修回日期:1900-01-01 出版日期:2012-12-22 发布日期:2012-12-22

A Kind of High-availability Scheduled Task Management Method

HOU Zeng-jiang, WANG Yong, RAO Lei   

  1. School of Computer Science, Northwestern Polytechnical University, Xi’an 710129, China
  • Received:2012-07-30 Revised:1900-01-01 Online:2012-12-22 Published:2012-12-22

摘要: 针对当前计划任务管理方法的缺陷,提出一种高可用性的计划任务管理方法。该方法采用集群技术,当系统发生故障时,不丢失计划任务,能够快速地恢复系统的正常运行。本文在研究Linux系统中的crontab和at的基础之上,将计划任务以执行时间分类,提高了计划任务执行的准确性,实现了对周期性的和非周期性的计划任务的统一管理。原型实验证明,该方法具有较高的可用性和性能。

关键词: 计划任务, 周期性, 非周期性, 高可用性, 集群

Abstract: To the flaws of managing scheduled task, a kind of high-availability managing scheduled task method is proposed. It uses cluster technology, which don’t lose scheduled tasks and recover running as soon as possible when hardware or software breaks down. On the basis of researching the crontab and at in Linux, it improves the accuracy of tasks execution, implements the unity of managing periodic and aperiodic scheduled task by classifying scheduled tasks according to execution time. The prototype experiments show that the method has higher availability and performance.

Key words: scheduled task, periodic, aperiodic, high-availability, cluster

中图分类号: