Not a developer? Go to MovableType.com

Plugin and Theme Directory

Bob the Rebuilder v1.2.1

By Steve Cook
Posted March 30, 2009, in Rebuilding.

Details

When publishing an Entry in Movable Type, the related templates are also published: the entry, a category archive, monthly archive, and main index, for example. Often in large multiblog installs, however, circumstances arise where some templates aren’t republished when needed.

Bob the Rebuilder provides a way to republish a blog or website (or a part of a blog or website) on a recurring schedule. For example, create a job to republish an entire blog every 24 hours, or create a job to republish all index archives every 10 minutes. An unlimited number of jobs can be created to republish any blog (or part of it) according to a number of set frequency choices.

Installation

To install this plugin follow the instructions found here:

http://tinyurl.com/easy-plugin-install

Configuration

Bob the Rebuilder is configured at the System level (Tools > Rebuilder). “Jobs” are used to rebuild a website/blog or part of a website/blog on a schedule, and can be enabled or disabled as needed.

“Create a rebuilder job” to get started: specify a website or blog, what you want to republish, its frequency, and save it. Done!

It’s important to be aware of the load you may be placing on the server — many jobs each republishing an entire blog every few minutes is goint to take a lot of resources. Planning site architecture is outside of the scope of this document, but the goal should be to publish efficiently. Only publish what needs to be republished, and republish as little as possible.

Tip: if a blog’s archives need to be republished, republish each archive type with a different job using a different schedule. Weekly, Monthly, and Yearly archives almost definitely don’t need to be published every few minutes or hours, however a category archive may need much greater frequency.

Support

This plugin is not an official Six Apart release, and as such support from Six Apart for this plugin is not available.

Requirements

  • run-periodic-tasks must be running

Compatibility

Movable Type versions: 5.15.2

License

MIT


Back

29 Comments

Arindam Ganguly on April 6, 2009, 12:05 p.m. Reply

could you please provide installation instructions.

tks

Ferris Chia on April 9, 2009, 2:17 a.m. Reply

I’ve managed to install this without instruction. Simply place the entire folder in your MT path/plugins directory and go to http://yourwebsite.com/pathtoMT/mt.cgi. it will auto detect and install the plugin.

Even though I managed to installed and configure it to rebuild at 1 min interval, the plugin doesn’t run at all. Status of “last rebuilt” is always N/A and there’s no error log.

Steve Cook on April 9, 2009, 5:05 a.m. Reply

Bob uses run-periodic-tasks to perform the rebuilding; unless RPT is running, Bob won’t do anything. See setting up run-periodic-tasks for instructions.

austin h on April 29, 2009, 12:52 p.m. Reply

I also have the same problem with Bob the Builder. I use RPT (and have for years, it works fine…) but Bob simply doesn’t do anything. I’ve got 10+ jobs setup for it to do, 2 of which it decided to do randomly, but RPT never picks up on the Bob tasks for whatever reason.

Would be happy to test new versions if there are any available!

austin h on April 29, 2009, 1:01 p.m. Reply

To add to the fun, Bob seems to run VERY randomly (it’s run a total of 4 times after being installed for 15+ days). It certainly doesn’t run every minute like it’s queued to to.

I’m not sure if this is complicating things, but we run MT on many different servers and have RTP running on a dedicated machine for rebuilds.

I’ve tinkered around with the times in the DB rows Bob creates hoping I would be able to manually trigger a job, but had no luck.

Also, when it did decide to run a certain job (#3 got it’s first run right after I posted that last comment!), it throws this warning:

Use of uninitialized value in hash element at /home/dynamic/xxx.com/plugins/Bob/lib/Bob/Util.pm line 84.

rdouthit on May 4, 2009, 12:20 p.m. Reply

Not seeing where to “add” pages to the Bob the Builder queue. Or, is it just all pages that are set for Queue Processing get rebuilt? (Even a sentence from the developer on how this is supposed to work would be tremendously helpful.)

rdouthit on May 4, 2009, 12:26 p.m. Reply

Interesting, RPT worked fine, but after installing Bob, I now get this error:

Use of uninitialized value in numeric ge (>=) at lib/MT/Template/ContextHandlers.pm line 6498.

Steve Cook on May 6, 2009, 3:13 p.m. Reply

To follow up on the comments:

  • Based on an followup email Austin sent, the problems he was experiencing were from a time-syncing issue (bad ntp config on his database), leading to Schwartz issues.
  • To answer rdouthit’s question: go to System > Manage > Rebuilder, and you can add rebuilder jobs to your heart’s content.

SayItAintSo! on February 4, 2010, 8:53 a.m. Reply

Can anyone confirm that you actually need a new entry for this to work? I am trying to use this on a dedicated blog that has no entries. All it does is agregate a feed from all the blogs in our system and displays the latest entries from OTHER blogs. And this plug in does not seem to work at all for this.

Google Play Gift Card Generator

Google Play Gift Card Generator on October 11, 2016, 4:23 a.m. Reply

Thanks for this.

merry1992

merry1992 on November 23, 2016, 9:53 p.m. Reply

all the bugs are fixed thanks….merry Christmas and new year wishes wish you merry christmas and a happy new year

010ssharma

010ssharma on July 5, 2017, 6:08 a.m. Reply

GOT - http://gameofthronesseason7watchonline.com/ Game of thrones season 7 watch online

I hope you found this list helpful and that you adopt at least some of these tips. In fact, these are good ideas regardless of whether you’re enduring a drought. Water is a misunderstood commodity that is subject to many market distortions as well as the tragedy of the commons. People tend to think of water the same way they think of oxygen: it’s necessary for life and should be free. But unlike air, water is more available in some places than in others, and almost all of us rely on some government infrastructure to get our water. Most people never even see a water bill– it’s paid by the landlord, the condo association, the office, the gym, etc. And those who do have some appreciation for the consumer cost of water may not realize how much that cost is subject to government subsidies. (This is particularly true of California’s farmers who use 80% of our water while contributing to just 2% of our economy.) Perhaps if we all had a better idea of the true cost of water– and had to bear more of it– then we might be less wasteful and make more of an effort to conserve it.

010ssharma

010ssharma on July 5, 2017, 6:14 a.m. Reply

Get now game of thrones all episode = http://gameofthronesseason7livestreaming.com/

Ramsey clearly had prepared a strong battle strategy. He had the numbers to lead the attack, but he didn’t recklessly waste away his troops. He directed the necessary amount of men into battle at the correct time; First he used the archers and a small number of men to lure Jon’s army into the battlefield. When everyone was distracted during the heat of the battle, he sent the rest of his troops to surround them.

He organized them in a position that would not only keep the men protected but also allow them to attack the enemy effectively. He created a battle strategy that didn’t require his soldiers to be strong swordsmen. Instead, he combined their collective strength, and reduced the effort to mere pushing. Cutting off the heads of men and hurting their bodies requires tremendous amount of individual strength. Suffocating them? Not so much.

Game of thrones season 7 live streaming

BlogLand

BlogLand on August 14, 2017, 6:52 a.m. Reply

This is something what am I looking for. Thanks for this. You may know JSC Result 2017 is published. To know instantly, click on the official website >>>

JSC Result 2017 Dinajpur Board

JSC Result 2017

Jack Sparrow

Jack Sparrow on August 23, 2017, 4:12 p.m. Reply

I couldn’t refrain from commenting. Perfectly written!

Jio Mobile Phone Booking

Jack Sparrow

Jack Sparrow on August 23, 2017, 4:13 p.m. Reply

I couldn’t refrain from commenting. Perfectly written!

Jio Mobile Phone Booking

Kevin Park

Kevin Park on September 29, 2017, 3:14 p.m. Reply

Awesome share thank’s. Hi, everyone. I am pro blogger and also part time vlogger on youtube. Few months ago I was decided to write about new and pro vlogger guide with bestcameraworld.com review.That’s why I found a new blog whois name best camera world

Alina Jim

Alina Jim on September 30, 2017, 8:15 a.m. Reply

Are you looking for vlogging guide,tips and tutorial than just have a look our blog visit us

Alina Jim

Alina Jim on September 30, 2017, 8:20 a.m. Reply

niche post. thank’s. Are you looking for vlogging guide,tips and tutorial than just have a look our blog visit us

Merry

Merry on October 17, 2017, 5:26 a.m. Reply

It’s nice to finally have all the helpful resources in one post! Thank you so much for sharing it! Visit Us Merry Christmas Wishes Christmas Crafts Ideas

Leave a Comment