【发布时间】:2014-04-18 17:36:51
【问题描述】:
我希望每天在特定时间运行一个 python 网络抓取程序。为此,我在 ubuntu 的 cron 中使用此命令
28 22 * * * root /home/ahmed/Desktop python hello.py
它只是不起作用。一定有什么问题。谁能帮帮我?
【问题讨论】:
-
手动发出
/home/ahmed/Desktop python hello.py命令是否有效?可能你需要类似28 22 * * * root python /home/ahmed/Desktop hello.py