2014-10-17 82 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腳本(它也可以處理日誌記錄等)並直接調用這個腳本。