What is Pseudocron?
For those of you who are familiar, it's a phpbb approximation (no, don't groan, hear me out) to crontab
For those of you who aren't familiar, crontab is a program that allows you to automatically run scripts on a timely basis
Now, this creates a 'pseudo' crontab, which takes user-even driven actions (ie, clicking on any phpbb link) and runs the pseudocron if it's within the next time slot (this can be split up into several different sub-actions to reduce load on any one user click)
Why am i doing this? well, i'm developing a mod or two that could really use automated actions. (ie, giving out allowances with Cash Mod) I'm sure there are other mod authors who would like this functionality.
The nice thing, is that if you (or the people who run your mods) actually _have_ crontab, you can transfer the cron load off your forum users and onto the actual cron process via another file that i provide which is built to tie right into the crontab system.
So, i'm pretty sure that the pseudocron half of the functionality is working properly, but until my development server is back up, i won't be able to test the actual crontab half
SO, what i need is testers for pseudocron, if you're interested in helping develop this mod
I hope you're interested.
As an example of it's working order, there is a value "crontest" in your config table. With pseudocron installed, it will increment every hour. You can view this from your adminCP
- Crontab approximation
- allows automated forum actions/scripts
- user-event driven
- can be run by crontab (if you have it) for better results
- platform for mods that require this functionality
sql_install.php (sql installer)
includes/pseudocron.php (main functionality)
admin/admin_cron.php and templates/subSilver/admin_cron.tpl (admin control panel)
phpbbcron.php (if you actually have crontab)
Small fix to pc100b2 here