Search

Phrase

Display

 

Category

   

Order

 

Pagesize

Results

29 hits12

1. Scheduled Postings and Cron Jobs

Movalog, Tutorials, 33 KB, 1698 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

Future posting is a convenient new feature in MT3.1x, allowing you to create an entry and have it automatically post at a future time. But before you can use this feature you need to set up a Cron Job on your server.

What is a Cron Job?

Cron is a task scheduler for unix servers. A cron job is a specific task that runs a certain number of times per minute, day, week, or month on your server. For example, you can use a cron job to automate a daily MySQL database backup. The main problem with cron jobs is that if they aren't properly configured they can cause high server loads...

continue reading ...

2. Scheduled Postings and Cron Jobs

Learning Movable Type, Tutorials, 34 KB, 2251 words

Co-authored by Elise Bauer and Arvind Satyanarayan. Tutorial cross posted on Movalog and Learning Movable Type

Future posting is a convenient new feature in MT3.1x, allowing you to create an entry and have it automatically post at a future time. But before you can use this feature you need to set up a Cron Job on your server.

What is a Cron Job?

Cron is a task scheduler for unix servers. A cron job is a specific task that runs a certain number of times per minute, day, week, or month on your server. For example, you can use a cron job to automate a daily MySQL database backup. The main problem with cron jobs is that if they aren't properly configured they can cause high server...

continue reading ...

3. CRON Jobs

PubHacks, Tutorials, 5 KB, 109 words

mysqldump -u database_user -ppassword database_name | gzip -c > /home/yourspace/notpublichtml/backup-mtpub.sql.gz

/usr/local/bin/php /home/yourspace/cronjobs/closecomments.php

/usr/bin/perl /home/yourspace/public_html/cgi-bin/mt/mt-rebuild.pl -mode=all -blog_id=1

/usr/bin/perl /home/username/public_html/cgi-bin/mt/mt-closure.pl -cp --days=1 --all

You also need to go into your cPanel and look for "CRON". You're going to set up some cron jobs to close your comments nightly and then rebuild your blog while you sleep.

Related Entries:

Posted by Iki at October 28, 2004 11:47 AM

Comments

continue reading ...

4. Cron Job For Scheduled Posting Is Not Working

Six Apart Knowledgebase, Manuals, 26 KB, 378 words

Question

I'm trying to set up a cron job for scheduled posting, but it's not working due to errors.

Answer

Error: Can't locate MT.pm

This means the cron job command is incorrect. It should be: cd /full/path/to/your/mt/install/; ./tools/run-periodic-tasks

For Windows servers, the run command should be the path and filename of your Perl interpreter, followed by the path to the tool. For example: C:Perlinperl.exe ools un-periodic-tasks

Be sure to set Start In to be the full path to your Movable Type directory. For example: C:Inetpubwwwrootmt...

continue reading ...

6. MT Blogroll 2.0

Movalog, Tutorials, 32 KB, 1555 words

As the campaign has been successfully completed, here's MT Blogroll 2.0. Thanks to all those that donated to the campaign, the donors will get priority if bugs or problems are faced. If you feel like donating, the campaign is now over, but feel free to use the donate button on the sidebar.

There are some new features including the ability to quickly add a blogroll entry by just entering the URI and having MT-Blogroll gather all the other information. I've also added the ability to define the the names of the author's of the blogs and the target of the blog.

I think all the bugs from the previous version should've been fixed, if you experience a bug, drop me a note.

If you are already using MT...

continue reading ...

7. Setting Up Scheduled Post Services

Six Apart User Manual, Manuals, 24 KB, 752 words

Setting Up Scheduled Post Services

Problem

You want to enable Scheduled Post services on your Movable Type System.

Solution

Install the run-periodic-tasks to run under cron or other similar system utility.

Discussion

To set up scheduled posting you need to be able to set up a "cron" job on the server. There a number of ways these services can be implemented and will vary depending on your server environment. Some hosting providers will allow one and not the other.

After you've set up post scheduling, when you save an entry with a post status of "Scheduled," it will be...

continue reading ...

8. MT Blogroll 2.0 Public Beta

Movalog, Tutorials, 35 KB, 2169 words

UPDATE: If you have any feature request I'm all ears. Gearing up for the release I want to see if there are any feature requests I can implement, I think I've fixed all the bugs that were reported so expect a release in the next few weeks.

I had released this to ProNet a few days ago but have not gotten much feedback. That can be either that people are waiting for the point release and don't want to install a beta or that there aren't many bugs in this beta. Either way I want to open up testing for MT Blogroll 2.0 (I'm still thinking about that version number). I'm going to copy my post to ProNet here to save me some time.

I've re-written Blogroll to use its own tables in the DB so...

continue reading ...

9. Bridging the Gap

A List Apart, Tutorials, 12 KB, 1367 words

I'm a sysadmin. I build the machines and install the networks, OS's and software to run websites, email, intra-office networks and all the different things that we've come to expect from the web. I read all the geeky news sites, play with all the great software, and run my own website from my residence. For a long time, I thought design was an afterthought. As long as the platform and codebase were solid, making the site/application/service look pretty should simply fall into place.

The more I experimented with design, the more I realized this is not so. The site that I adminster during my "regular day job" is entirely dynamic. We can uniquely...

continue reading ...

10. Backing Up Your Blog

Learning Movable Type, Tutorials, 30 KB, 1993 words

Updated

Occassionally databases get corrupted, servers fail or web hosts go out of business. So it's a good idea to back up your Movable Type blogs. There are many methods for doing so, a few of which I will cover here. The back-up process is much easier if you are using MySQL as your database, which, by the way, is one good reason to use MySQL over the default Berkeley DB.

TypeMover

TypeMover is a new plugin for the purpose of backing up, restoring, and/or migrating your Movable Type weblog. It is compatible with MT3 and later versions of Movable Type. From the TypeMover website:

TypeMover is a MovableType plugin. It adds backup, restore and migration features that let you get...

continue reading ...

11. Advanced Topics Archives

Six Apart User Manual, Manuals, 62 KB, 5230 words

With broad platform integration of all the leading open standards, Movable Type has the potential to do much more, given additional expertise and knowledge on the user's part.

This chapters covers some of the more advanced features in addition to providing a starting point for more advanced topics not covered in this publication.

Architectural Overview

Movable Type is written in a highly modular Perl object-oriented style with an open code base (it's not open source -- an important distinction) that makes the browser-based tool quite flexible and easily modifiable, allowing it to adapt to any number of...

continue reading ...

12. Movalog: General Archives

Movalog, Tutorials, 24 KB, 861 words

Page: 1 1 Page.

Hacking Movable Type

I finally got my copy of Hacking Movable Type and finished reading it last night. Written by the biggest names in the Movable Type community, the 300 pages of Movable Type goodness guide you through getting the most out...

Continue reading "Hacking Movable Type"

Posted on 08/21/2005 | Permalink | Comments (0)

Firefox Search Plugins

I had forgotten to share these little goodies that I frequently use. The little search bar in Firefox is indespensible for me and I have all sorts of search engines there including many Movable Type resources. Here are three...

Continue reading "Firefox Search Plugins"

Posted on 03/20/2005 |...

continue reading ...

13. Creating Automatic Backups Of Your Movable Type Database

Eat Drink Sleep MT, Tutorials, 18 KB, 499 words

Probably the most important element to maintaining a web site with Movable Type (or other CMS) is the database. If something happens to the database, you're in trouble. If you keep backups (and you should!) you can go back to the last copy. But how old is that - a week? A month? Nightly, automatic backups of your database are the best way to handle such a problem.

So, for a little while I was searching for a good way to make nightly, automatic backups. I've found a good, free tool for the MySQL databases I use: MySQL Database Backup. Setting up the script as a Cron job let's me make nightly backups, and the script can be set to keep as many nightly,...

continue reading ...

14. Introduction

Six Apart User Manual, Manuals, 33 KB, 2011 words

Introduction

Movable Type is the premier weblog publishing platform for businesses, organizations, developers, and web designers. Powerful customization gives you control over everything you publish and the elegant interface keeps things simple and clear.

Features

• Unlimited Blogging

Movable Type offers the ability to publish an unlimited number of blogs quickly and easily through a single installation of the application. And the platform supports posting by as many authors as you need, with no limit on the numbers of entries, comments, or TrackBacks the system...

continue reading ...

15. Forums?

Movalog, Tutorials, 30 KB, 1081 words

Currently many people refer to an MT community but I feel there isn't a proper place where this community can get together. Yes there are the forums and ProNet but the first isn't for real socializing (for lack of a better word) and the latter is geared up for devs or pros. I want a place where people will be comfortable expressing their newbiness, talking about Movable type, tips tricks, tutorial request etc. A preview is available here

Also I've been thinking about adding a type of directory service for people to list their Movable type sites for added publicity. This would be a place where people could list their blogs yet find new ones to read (this is a great way to fine new blogs...

continue reading ...

16. Site Statistics

Learning Movable Type, Tutorials, 24 KB, 1332 words

There are several ways to get statistics about your Movable Type weblog. Most web hosts give you access to some statistics regarding your site as a matter of course - referral logs (list of sites that link to you in which someone has clicked on the link to get to your site), number of hits, number of page views, etc. If you want more information, i.e. the search terms used to find your site, the most recent entry pages to your site, the mix of browsers and OS platforms of those viewing your site, the length of time people spend on average on your site, you can use a site statistics service, also known as a hit counter. These services work by having you put a small piece of code on the...

continue reading ...

18. Relative Dates

Movalog, Tutorials, 27 KB, 707 words

In a recent thread on the MT forums, a person asked how you could make the dates on entries relative to the current time. This means instead of "Posted on August 1st 2004" it would be "Posted 3 days ago." You could use the RelativeDate plugin but that would require you to rebuild your pages everyday (of course this can be done via a cron job).

Lucky I found this PHP script written by Kristine (kadyellebee on the forums). For this code to work, you will need to be using PHP enabled templates. Towards the top of your templates you should find a tag similar to <$MTEntryDate$>

Just replace that with <?php //offset is how many hours away you are from your server. $offset = "0";...

continue reading ...

19. Moblogging with MT

Movalog, Tutorials, 27 KB, 638 words

UPDATE

Typepad has moblogging built in but what can you do with MT. There are certain scripts you could setup on your servers. Pop2Blog is one such script, and another is pop3-to-blog. However with these scripts you would need to setup cron jobs to scan your emails and then post to MT.

That's when I found Mfop2

Mfop2 allows you to moblog without setting up any special scripts on your own mail server. To use Mfop2, all you have to do is register some of your blog details and you will be able to post to your blog from your mobile by emailing your blog entry with images attached to mfop2@bastish.net.

Another interesting option is mobileMT

mobileMT is a WAP interface for the MovableType...

continue reading ...

20. Dynamic Pages & The .htaccess

Movalog, Tutorials, 37 KB, 2028 words

Co-authored by Arvind Satyanarayan and Elise Bauer Tutorial cross posted on Movalog and Learning Movable Type

With the release of Movable Type 3.1 comes a new and powerful feature - Dynamic Publishing. To take advantage of Dynamic Publishing, you need to edit or create a file on your Apache server called .htaccess as explained in the Movable Type Manual. htaccess files can give you extra control over your server, allowing you to password protect directories, enable server side includes, generate custom error messages, and block users by IP address among other things. (See this Guide to .htaccess for more information.)

Note: You should really know what you are doing before...

continue reading ...

Comments

You want to post some comment? Please use the announcement post on the Movable Type Weblog.

If you want to give some feedback concerning a specific query, please use the feedback button that is shown after a search has completed.

mgs | September 27th 2005