2014-10-17 79 views
0

我试过了下面的命令,但从来没有能够在crontab中执行任何想法?Python没有考虑在crontab中

CD的/ usr /存储/家庭/建设/ reportdeployment/Automate_CallCount_By_Region_by_Application_Report & &在/ usr/bin中/ Python的doReport.py -p -c Automate_CallCount_By_Region_by_Application_Report.cfg

回答

0

如果执行此操作(因为cron的用户,会发生什么)在命令行? 一般来说,我会建议把它放到一个简单的shell脚本(它也可以处理日志记录等)并直接调用这个脚本。