Reputation: 3483
I have some task and my host is Cpanel. When I try to add this command have an error .
Upvotes: 0
Views: 249
Reputation: 6725
Remove leading asterisks in command field. Cpanel will add them internally from inputs above.
So, the command input should only contain
php /path/to/artisan schedule:run >> /dev/null 2>&1
And as @Ben Swinburne correctly mentioned in his comment:
and obviously replace /path/to/artisan with the actual path too.
Upvotes: 1