重新启动crontab无法重启

时间:2013-04-11 14:28:28

标签: crontab

这是crontab:@reboot cd /var/test/ && php gearman_test.php

但每当我ssh并运行ps -aux | grep .php时,我都看不到gearman_test.php

如果我复制粘贴命令(没有@reboot),它可以从任何目录中运行。

如果我现在运行ps -aux | grep .php,我会看到gearman_test.php

syslog显示: Apr 11 17:11:48 server CRON[2441]: (root) CMD (cd /var/test/ && php gearman_test.php)

我还尝试在最后添加&,但它不起作用。

0 个答案:

没有答案