I am having trouble setting up cronjob for laravel 5 scheduler.
It seems that the command dokku run <app> <command>does not execute all the commands inside the dokku container.
for example ... if I sign up to my server and I execute dokku run <app> php artisan migrate --force, then it transfers the database.
But if I try to execute a command like dokku run <app> php artisan schedule:run, then I get the following response:
(touch /app/storage/framework/schedule-716d44b3c0c7f157011de8e9c5eca60e; /app/.heroku/php/bin/php artisan feed:import-last; rm /app/storage/framework/schedule-716d44b3c0c7f157011de8e9c5eca60e) > /dev/null 2>&1 &
But it does not handle the main actions.
The strange thing is that when I enter the dokku container with dokku run <app> bashand I start php artisan schedule:run, then I get the same answer, but then it processes the main actions.
This means that cronjob * * * * * /bin/bash -c 'dokku run admin-feedshop php artisan schedule:run'will not do anything, since it does not handle basic actions in this way.
-, , ?
( dokku 0.3.18)