Hi,
on the documentation, the cron configuration is just:
* * `* * * cd /path-to-your-flarum-install && php flarum schedule:run >> /dev/null 2>&1
And the schedule list on my bord is:
flarum schedule:list
+------------------------------------------------+-----------+---------------------------------------------------------------------------------------------------------------------+----------------------------+| Command | Interval | Description | Next Due |+------------------------------------------------+-----------+---------------------------------------------------------------------------------------------------------------------+----------------------------+| '/usr/bin/php' 'flarum' fof:sitemap:build | 0 0 * * * | Persists sitemap to cache or disk. | 2023-03-21 00:00:00 +00:00 || '/usr/bin/php' 'flarum' fof:best-answer:notify | 0 * * * * | After a configurable number of days, notifies OP of discussions with no post selected as best answer to select one. | 2023-03-20 16:00:00 +00:00 |+------------------------------------------------+-----------+---------------------------------------------------------------------------------------------------------------------+----------------------------+#
How enable queue on my board ? I need to schedule like:
sudo -u apache ./flarum queue:work --stop-when-empty
Or use a systemd configuration like here: https://discuss.flarum.org/d/21873-redis-sessions-cache-queues/243