From ac7a5a65e530121b3e3d3ad6e0296b3c62cb540e Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Fri, 11 Sep 2020 16:57:50 -0400 Subject: [PATCH] Update cron path --- app/Services/CronService.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Services/CronService.php b/app/Services/CronService.php index 6e4f8104..adb8b227 100644 --- a/app/Services/CronService.php +++ b/app/Services/CronService.php @@ -38,10 +38,9 @@ class CronService extends Service } $path = [ - 'cd '.base_path(), - '&&', $php_exec, - 'artisan schedule:run', + base_path('artisan'), + 'schedule:run', ]; return implode(' ', $path);