- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/PinaeOS/py-task
- 软件文档: https://github.com/PinaeOS/py-task
软件介绍
py-task是一个Python下的任务调度工具
支持简单的周期性调度
支持Cron格式的任务调度
安装方法
python setup.py install
或者
pip install py-task
示例代码:
from task import task
from task import task_container
from task.job import job
from task.trigger import cron_trigger
class MyJob(job.Job):
def __init__(self):
pass
def execute(self):
print 'Hello now is ' + str(time.time())
cron = '0-59/5 10,15,20 * * * * 2015'
new_task = task.Task('Task', MyJob(), cron_trigger.CronTrigger(cron))
container.add_task(new_task)
container.start_all()
Google成功的七堂课
罗耀宗 / 电子工业出版社 / 2005-7 / 28.00元
Google是全球使用人数最多的搜索引擎,在短短几年内,Google从斯坦福大学的实验室,茁壮成长为举世瞩目的IT业超级巨人,他们的成功绝非偶然,尤其是在网络泡沫破灭,行业一片萧条之际,它的崛起更为IT业带来一缕曙光。作者从趋势观察家的角度,以讲座的形式,向读者讲述Google成功的关键因素:破除因循守旧、不断打破常规,核心技术领先、做出了“更好的捕鼠器”,使得Google在搜索技术方面远远超越对......一起来看看 《Google成功的七堂课》 这本书的介绍吧!
