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.
Suggested Hosts
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.
Post Reply
Swen
Registered User
Posts: 69
Joined: Sun Oct 04, 2015 5:44 pm

Cron via phpbbcli.php

Post by Swen » Sat Oct 10, 2015 7:09 pm

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: 69
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen » Wed Nov 18, 2015 5:32 pm

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: 69
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen » Wed Dec 02, 2015 9:23 am

Nobody out there to answer my qestions?
Regards Swen

Swen
Registered User
Posts: 69
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen » Thu Dec 17, 2015 9:40 am

Nobody have any informations?
Regards Swen

Swen
Registered User
Posts: 69
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen » Fri Dec 18, 2015 10:05 am

Found a solution. Topic can be closed.
Regards Swen

User avatar
david63
Jr. Extension Validator
Posts: 13400
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Cron via phpbbcli.php

Post by david63 » Fri Dec 18, 2015 3:34 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Siava
Registered User
Posts: 118
Joined: Wed Jan 26, 2005 10:07 am
Contact:

Re: Cron via phpbbcli.php

Post by Siava » Fri Dec 18, 2015 8:07 pm

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: 69
Joined: Sun Oct 04, 2015 5:44 pm

Re: Cron via phpbbcli.php

Post by Swen » Fri Dec 18, 2015 8:35 pm

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

Post Reply

Return to “[3.1.x] Support Forum”

Who is online

Users browsing this forum: oBot and 25 guests