Hello,
The cron job for my Flarum forum is not working, this is what I'm using inside the Panel: cd /public_html && /usr/local/bin/php flarum schedule:run >> /dev/null 2>&1
cd /public_html && /usr/local/bin/php flarum schedule:run >> /dev/null 2>&1
Any ideas to make it work?
Test it out yourself first via ssh.
I think this will work: php public_html/flarum schedule:run >> /dev/null 2>&1 Test it at least without >> /dev/null 2>&1
php public_html/flarum schedule:run >> /dev/null 2>&1
>> /dev/null 2>&1
/public_html would be relative to the root of the conatiner. You probably want:
cd public_html && /usr/bin/php flarum schedule:run >> /dev/null 2>&1
Adam it works, thanks!