【发布时间】:2013-04-16 16:13:45
【问题描述】:
这真是令人沮丧。当被 crontab 调用时,像这样的简单事情将不起作用:
$responseFull = shell_exec("phantomjs --version");
我必须说 phantomjs 在终端上运行良好,无论是普通用户、bokac 还是 apache 用户 www-data。我得到的只是 null。
这有可能吗?
【问题讨论】:
标签: crontab phantomjs shell-exec