Cron Resources for Movable Type

user-pic
Vote 0  

Filed:

 
Since I have been working with cron issues in Movable Type recently, I thought it would be good to list some resources that you can find on the MT site.


I am not sure if setting it up as a daemon process is a good idea or not, something I will need to ask support.

Email to a friend

2 Comments

| Leave a comment

Don't run run-periodic-tasks as a daemon.

it doesn't work with Action Streams. Known issue. It's mentioned in the AS documentation.

this is all you need:
*/5 * * * * cd /var/www/cgi-bin/mt; perl ./tools/run-periodic-tasks

runs every 5 minutes.

might explain the problem you are describing here:
http://bgviewsnetwork.com/dev/2009/03/cron-issues-batch-template-options/

I too had some weird Publish Queue issues. I think I had issues with Category & Entry archives, but also my Main Index template. I forget what the issue was now. If I recall the Main Index would display very old entries.

I finally set it back to Static. Maybe I'll try it again, and maybe between the two of us we can get 6A to fix! :)

Hey Tom,

I finally turned on verbose logging for my cron job and am pretty sure the issue I am having is because of a plugin, see below. Never though of running as a daemon, but now know that I won't even think about it! Good to know, thanks.

My current issues seem to be only with Archive Indexes (category, monthly, author). I have written the plugin developer to get their 2 cents.

Publishing /home/bgv/public_html/master/dev/2009/04/index.php, priority 2
Eval failure: Can't locate object method "static_path" via package "MT::App" at /home/bgv/public_html/mt/plugins/BlogShow/BlogShow.pl line 130.
job failed. considering retry. is max_retries of 0 >= failures of 1?

I also wrote Six Apart Support about this, but I am guessing they will tell me to talk to the plugin developer.

Anonymous comments are always moderated, please sign in and join the discussion. Create an account for a user profile and community features. Please read our comments policy.

Leave a comment

Poll

Do you like the toolbar at the bottom of this blog?

View results

View & Download PDF


View our support community!

About This Blog

Ken Edwards (and hopefully other project members) will be blogging here — a place to keep up on what is happening on the BG Views project. You will find bits of code, project updates, and random technical information aimed at confusing the hell out of you. More »

Subscriptions

Mobile Edition

Mobile EditionAccess the BG Views Developer Blog on your iPhone or other mobile device. Read more about our mobile site »
Powered by Movable Type 4.34-en

 

Also powered by:

  • Caffeine (Dr. Pepper)
  • Cup Cakes (Hostess)
  • Pizza (Pisanello's)