Cron via phpbbcli.php

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Cron via phpbbcli.php

Post by Swen »

Hello guys,

are there any explanation how that works? If i start this via terminal i get cron lock error.

Thanks.
Regards Swen
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen »

I have ask days ago but don't get any answer.
Run periodic tasks from system cron: When off, phpBB will arrange for periodic tasks to be run automatically when users visit the board. When on, phpBB will not schedule any periodic tasks by itself; a system administrator must arrange for bin/phpbbcli.php cron:run to be run by the system cron facility at regular intervals (e.g. every 5 minutes).
My question is now:

There is an option that the admin must exec phpbbcli.php eg 5 min or PHPBB do it by self. Between both there are no big different changes. I don't execute phpbbcli.php manual by hand and the cron will work. That confuse me a little bit the explanation tells me that i must exec eg. all 5 min the script...
What happens is that notification mails are send very late. Most cases one hour. If try to start manual i get every time cron locked message.

Other thing is that notification mails a very delayed. Is there a way to increase mail notification delivery?
Regards Swen
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen »

Nobody out there to answer my qestions?
Regards Swen
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen »

Nobody have any informations?
Regards Swen
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen »

Found a solution. Topic can be closed.
Regards Swen
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: Cron via phpbbcli.php

Post by david63 »

Swen wrote:Found a solution.
And for the benefit of anyone else seeking a solution - it was?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Siava
Registered User
Posts: 154
Joined: Wed Jan 26, 2005 10:07 am
Contact:

Re: Cron via phpbbcli.php

Post by Siava »

david63 wrote:
Swen wrote:Found a solution.
And for the benefit of anyone else seeking a solution - it was?

Code: Select all

*/5 * * * *	www-data	/usr/bin/php /path_to_board/bin/phpbbcli.php cron:run
Swen
Registered User
Posts: 104
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen »

Cron will be locked... That won't work.

I'm goeing into the database table config and set a new value at cron queue. That cron will be locked for a shorter period.
Regards Swen
Locked

Return to “[3.1.x] Support Forum”