There is a setting in ACP->Server settings that you could use. As shown in the image, change Run periodic tasks from system cron: to Yes and then create a cPanel cron job to runmikeinthe852 wrote: ↑Sun Aug 09, 2020 12:20 pmWe have a 3.3.0 board with very little traffic.
Outgoing mail sits in queue.php for a long time waiting for board activity.
Code: Select all
bin/phpbbcli.php cron:run
Code: Select all
/usr/local/bin/php /home/<account>/public_html/phbb_root/bin/phpbbcli.php cron:run
<account>
is usually the domain used to create the account and phbb_root
is where phpBB is. If the domain were example.com and the forum was accessible from example.com:Code: Select all
/usr/local/bin/php /home/example/public_html/bin/phpbbcli.php cron:run
Code: Select all
/usr/local/bin/php /home/example/public_html/forum/bin/phpbbcli.php cron:run
0 * * * * curl -k -A='Mozilla/5.0' https://board.com/forum/app.php/cron/cron.task.cron_task
The question is, is this a bug or a new feature? Either way it needs to be fixed, and if it's a new feature this has to be mentioned as part of the installation process that if you depend on timely notifications you must create a cron process outside of phpBB as another installation step.When off, phpBB will arrange for periodic tasks to be run automatically.
The setting you already mentioned is "the one." "Run periodic tasks from system cron" is "off" by default, which means "crons must be run by phpBB via /cron URLs", and is the state most installations are in. Someone who creates a system cron to invoke phpbbcli.php cron:run will set "Run periodic tasks from system cron" to "on", which means "stop doing the automatic cron processing, because a system cron is going to handle it."MarkDHamill wrote: ↑Thu Dec 24, 2020 2:13 amIs there a setting which controls if automatic cron processing is enabled? I don't recall every seeing one. If the config value of cron_lock is not 0 it is effectively disabled until the value is 0.