基于文件名的作业调度。
jupyter-cron的Python项目详细描述
简单的clock/cron进程,用于监视特定目录并基于其文件名运行作业。
当前支持此模式的文件名:
(每次x)其中
x是['天','星期一','星期二','星期三','星期四','星期五','星期六','星期日]
time可以是没有分钟的短格式,如下午5点,也可以是有分钟的长格式,下午5点
例如:
notebooks/generate_model(每天下午5点)。ipynb将触发jupyter nbconvert每天下午5点运行。
scripts/gen(每周一中午12点)。py将触发运行python scripts/gen….py。
功能
- 使用简单
- 与Jupyter很好地集成
- 在Python3.6上测试
用法
usage: jupyter-cron [-h][-d] glob Scans for file to run on a schedule based on its name positional arguments: glob specify glob to search eg. test/**/*.ipynb optional arguments: -h, --help show this help message and exit -d, --daemonize daemonize the process
元
曲克乐-@realQuoc-quocble@gmail.com
根据麻省理工学院的许可证发行。有关详细信息,请参见LICENSE.txt。
https://github.com/quocble/jupyter-cronhttp://rst.ninjs.org/