2014-02-07 55 views
0

我有以下腳本命名爲chronograph.shOpenshift的cron不起作用

#!/bin/bash 
php -f coins.php > chrono.dat 

許可,不得以jobs.allow

# Script or job files listed in here (one entry per line) will be 
# executed on a weekly-basis. 
# 
# Example: The chronograph script will be executed weekly but the README 
#   and chrono.dat files in this directory will be ignored. 
# 
#   The README file is actually ignored due to the entry in the 
#   jobs.deny which is checked before jobs.allow (this file). 
# 
chronograph.sh 

和的cron的服務開始使用此命令:ctl_app啓動cron和此結果:

CLIENT_RESULT: cron scheduling service is already enabled... 

但是,該腳本從未執行。如果我直接在命令行上運行這個腳本,它可以完美運行,但不能讓它以自動方式運行。一些權限問題?

回答