【发布时间】:2020-02-26 05:49:47
【问题描述】:
所以我正在尝试在 Mac OS X Catalina 10.15.3 中设置一个 cron 作业。出于某种原因,我可以让我的 python 脚本运行。我在它下面设置了一个测试作业,它运行良好。
* * * * * python3 /Users/eric/Dropbox/python/Print/New\ Orders/funcs.py
* * * * * echo 'hello' >> //Users/eric/Desktop/test/test.txt
``
the echo is running every minute but for some reason I cant the the python file to run.
【问题讨论】:
-
尝试使用python3的完整路径?
标签: python-3.x cron macos-catalina