我试图在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