When using laravel task scheduling, I receive the following error message:
[ErrorException] escapeshellarg() has been disabled for security reasons
What is the problem and how can I fix it. In addition, I haven't access to php.ini file.
Here is my code:
In Kernel:
protected function schedule(Schedule $schedule)
{
$schedule->call(function(){
echo "SSS";
})->everyMinute();
}
Cron job in directadmin:
* * * * * php /path/to/artisan schedule:run >> /path/to/test11.txt
And test11.txt content:
[ErrorException] escapeshellarg() has been disabled for security reasons