标签: php soap cron
我有一个在命令行(Terminal Mac)中完美运行的Cron作业,但是当作为Cron作业运行时,它在加载soap请求时失败。
Terminal Mac
Code.. $soapul= "https://connect.codelocks.com/Controllers/Device/NetCode.asmx?wsdl"; $oSoapClientZ = new SoapClient($soapul); ....
将这样的soap请求作为Cron作业加载是错误的吗?