2013-05-27 34 views
1

我有一個由cakephp 1.3.13製作的應用程序,它需要運行shell腳本(作爲cron作業)。我已經在我的本地機器上運行的腳本,它看起來不錯,但是當我試圖在現場是說**錯誤殼牌類無法加載**我從CakePHP Shell cronjob: Error: Class TestingShell could not be loadedCakephp shell :Shell class HelloShell could not be found嘗試瞭解決方案,cakephp Error: Class WidgetShell could not be loadedCakePHP v1.3.13:錯誤類Shell無法加載(Linux服務器)

它不能解決我的問題。我也改變了我的腳本服務器上的權限,但它也不起作用。任何幫助?謝謝!

回答

2

我想你在運行你的shell腳本時丟失了一些東西。試試這個

path/to/app_name# ./cake/console/cake shell_script_name -app app 
+1

這樣做的工作:)謝謝! – Alex

相關問題