【发布时间】:2020-07-10 01:29:26
【问题描述】:
我试图从 AWS Ligthsail 的 linux 终端运行 Python 脚本,但没有成功。
I tried multiple options and still can't get it to run:
* * * * * /usr/bin/python3 path/to/my/script.py
and within the .py script
#/usr/bin/python3
I also tried:
* * * * * /usr/bin/python3 path/to/my && ./script.py
【问题讨论】:
标签: python amazon-web-services cron amazon-lightsail