我在laravel 5.3上运行cron时遇到错误

时间:2016-09-04 06:00:00

标签: php laravel cron laravel-5.3

我正在使用cpanel共享主机,我使用我的cron作业评论,如

php /home/xxxxxx/public_html/artisan schedule:run 1>> /dev/null 2>&1

$schedule->command( 'inspire' )
             ->everyMinute()->appendOutputTo( storage_path( 'logs/update-active.log' ) );

它正在触发但我在laravel.log上有一些错误日志

[2016-09-04 05:51:01] local.ERROR: exception 'Symfony\Component\Process\Exception\RuntimeException' with message 'The Process class relies on proc_open, which is not available on your PHP installation.' in /home/adminbot/public_html/vendor/symfony/process/Process.php:144

#0 /home/adminbot/public_html/vendor/laravel/framework/src/Illuminate/Console/Scheduling/Event.php(171): Symfony\Component\Process\Process->__construct(''/usr/bin/php' ...', '/home/adminbot/...', NULL, NULL, NULL)

我该如何解决这个问题?请帮帮我。

0 个答案:

没有答案