How do I trigger a specific template rebuild in MT 4.2?
September 17, 2008 12:43 PM
Subscribe
MovableTypeFilter: How do I initiate an automatic rebuild of a specific template at a given time under MT 4.2? The upgrade from 4.1 to 4.2 has broken my cron jobs, which have worked for years. Grrrr!!!!
I have two templates that I want rebuilt every night at midnight. I used to run a cron job like this:
[path to file]/mt-rebuild.pl -mode="index" -blog_id="1" -template="Template Name"
I don't even see the mt-rebuild.pl file as existing anymore, and the MT "documentation" is really poor. At one point it mentions that the old system has been replaced by TheSchwatz, Job and Worker, but never addresses how to set any of these up beyond the vague basics suggestion that they CAN be set up.
I realize I need to change the setting of the template to wither Manual or Via Publish Que, but how do I trigger the automatic rebuild at midnight?
Help! I'm at wits end here...
posted by 2oh1 to computers & internet (5 comments total)
1 user marked this as a favorite
mt-rebuild.pl is not part of MT. It's a utility script by Tim Appnel. I can't tell you why it disappeared, but you probably trashed it by mistake while upgrading, depending upon what method you used.
(As a sidenote[private if you want], is there a reason you're not using the actual MT forums?)
posted by Su at 1:46 PM on September 17, 2008