搜索aas作业注册。
aasalert的Python项目详细描述
aasJobAlert
aasjobalert是一个用于检查aas作业寄存器的python脚本。
从这个tutorial中借用了一些代码。
安装
使用包管理器pip安装aasalert。
pip install aasalert
用法
usage: aasalert [-h] keyword Search the AAS job register for post-doc positions in the last year. positional arguments: keyword Keyword to search the AAS job register for. optional arguments: -h, --help show this help message and exit
这最好用作对a as进行定期检查的cronjob。我们可以使用mailx
生成电子邮件警报。例如:
crontab -e 0000 * * 1 aasalert keyword 2>&1| mailx -E -s "AAS Job Alert" your.email@address.com
有关如何使用crontab的示例,请参见this link。
贡献
欢迎拉取请求。