alfredoramos / phpbb-ext-auto-lock-topics Goto Github PK
View Code? Open in Web Editor NEWAuto-lock Topics extension for phpBB
License: GNU General Public License v2.0
Auto-lock Topics extension for phpBB
License: GNU General Public License v2.0
As we have hundreds of thousands of topics in our phpBB install, I'm attempting to switch to using phpBB's "Run periodic tasks from system cron" but the Auto-lock Topics extension's task doesn't appear in the list of available cron tasks when using phpBB 3.3.3 and PHP 7.3.27-1~deb10u1:
$ php bin/phpbbcli.php cron:list
Ready tasks:
============
* cron.task.core.tidy_cache
* cron.task.core.tidy_sessions
* cron.task.core.tidy_warnings
Not ready tasks:
================
* cron.task.core.prune_all_forums
* cron.task.core.prune_forum
* cron.task.core.prune_shadow_topics
* cron.task.core.prune_notifications
* cron.task.core.queue
* cron.task.core.tidy_database
* cron.task.core.tidy_plupload
* cron.task.core.tidy_search
* cron.task.text_reparser.pm_text
* cron.task.text_reparser.poll_option
* cron.task.text_reparser.poll_title
* cron.task.text_reparser.post_text
* cron.task.text_reparser.user_signature
* cron.task.core.update_hashes
I tried adding is_runnable
and should_run
methods to the cron task but to no avail.
Is it possible to support running the task from the CLI or does it only work if executed via a request?
Dear,
I need the clarification for the bellow 2 things to be able to translate very well.
The line :
'ACP_AUTO_LOCK_POLLS_EXPLAIN' => 'Locks topics with polls not voted in fo post age days.',
Is it Ok ? no mistake with "fo" ?
Also, I need more explain to the bellow line :
'ACP_AUTO_LOCK_FREQ' => 'Auto-lock frequency',
'ACP_AUTO_LOCK_FREQ_EXPLAIN' => 'Time in days between auto-lock events.',
I couldn't understand what is the frequency or events
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.