rafaucau Instead of calling the Flarum queue command via cron, you need to call this file.
rafaucau Save this code as an sh file, e.g. queue-check.sh and set it as a cron target.
rafaucau I just set it up in my hosting panel.
ok, I have that option which type do I need to select? PHP, cURL, Wget?
edit : i have updated the command line
* * * * * cd /ask && php flarum schedule:run >> /dev/null 2>&1
* * * * * cd /ask/queue-check.sh >> /dev/null 2>&1
so setting up queue job is completed? 😍
edit: i have tried to monitor it but looks like it's not working. I had to manually run flarum queue to make it work
redis-cli -n 1 monitor
redis-cli monitor |grep '(db 1)'
rafaucau * * * * * /ask/queue-check.sh >> /dev/null 2>&1
we dont need to mention word CD in above line?