我正在运行一个每12分钟转到一个页面的cron作业并运行它,然后运行PHP脚本 . 当我通过浏览器中的URL访问该页面时没有问题,该网站继续顺利运行 . 当通过cron作业执行时,服务器报告此错误:

[Sat Oct 27 08:15:59 2012] [warn] child process 1042 still did not exit, sending a SIGTERM
[Sat Oct 27 08:15:59 2012] [warn] child process 649 still did not exit, sending a SIGTERM
[Sat Oct 27 08:15:59 2012] [warn] child process 1193 still did not exit, sending a SIGTERM

该脚本每12分钟发送一次帖子(带链接)到Twitter . 这可能与Twitter的API有关吗?

这里有一个我的cron工作的例子,我尝试了很多不同的方法:

*/2 * * * * /usr/bin/php5 /var/www/application/tweeter_omg.php
*/15 * * * * /usr/bin/wget -q http://sitename.com/tweeter_omg