jeudi 24 janvier 2019

Task scheduling in laravel forge

I've hosted my app in Digital Ocean with Laravel Forge and have created a artisan command to run through schedule [Nightly].

The artisan command runs smoothly via terminal but returns No such file or directory while running it through Scheduled Jobs from Laravel Forge.

The command for the job is:

php /home/forge/sitename.com/artisan Instagram:fetch

The artisan command php /home/forge/sitename.com/artisan Inspire i.e php artisan inspire returns the correct output.

While the above mentioned custom artisan returns No such file or directory



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire