Editing
Newznab
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Postprocess script == This script only does postprocessing. By default update_releases.php post processes the last 100 releases. if you backfill or if your update_releases.php has more than 100 releases some may not process. This script is to be run in another shell and only does post processing on releases that have not been done yet. when there is nothing to to it looks like it is hung but if you have more releases the script continues. Another rational is that it allows update_releases to finish quicker because the number of post processing it does is changed to 1. * edit www/lib/postprocess.php <source> public function processAll() { - $this->processAdditional(); + //$this->processAdditional(); </source> <source> - $numtoProcess = 100; + $numtoProcess = 1; </source> * create misc/custom/justpostprocessing.php <source lang=php> <?php define('FS_ROOT', realpath(dirname(__FILE__))); require_once(FS_ROOT."/../../www/config.php"); require_once(FS_ROOT."/../../www/lib/postprocess.php"); $i=1; while($i=1) { $postprocess = new PostProcess(); $postprocess->processAdditional(); } ?> </source> * chmod 755 justpostprocessing.php * run that in a screen/tmux session
Summary:
Please note that all contributions to RARForge may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RARForge:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Home
All Pages
All Files
View Categories
Recent changes
Random page
Edit this menu
Tools
What links here
Related changes
Special pages
Page information