DreamHost Web Hosting
Discussion Forum


Forums
   >> 3rd Party Software & Scripts
Flat Mode*

Subject Scheduling posts on MT  
Posted bywilldex (DH Dreamling)
Posted on11/25/06 06:42 PM


MT=Movable type.
Scheduling posts=future posts feature.
I know that I have to go to MT's installation/manual support for that. I did. Here's what they say:

cron

If you have shell access to a Unix server you can set up scheduled posting by editing your crontab, the table the cron utility uses to store its assignments:

% crontab -e

Then add the following line:

0,15,30,45 * * * * cd /path/to/mt/; ./tools/run-periodic-tasks

This instructs cron to run the script at zero, fifteen, thirty, and forty-five minutes after the hour, every hour. The asterisks are a way of telling cron to do this every hour, every day, every day of the week and month. Make sure you have exactly four asterisks separated by spaces.
/path/to/mt/ should be the path to your Movable Type application directory.

After that, just save the file, exiting your editor, and cron will report that it installed a new crontab.

Excellent...I don't have the shell access. I've downloaded PuTTY, logged in, and it gave me a message that "this account only has FTP access." So, that's that. Next:

cPanel

To set up scheduled posting through cPanel, follow these directions:

How do I get to this in cPanel?

In the box labeled "Command to run," enter the path to your Movable Type installation, followed by /tools/run-periodic-tasks:

cd /path/to/mt/; ./tools/run-periodic-tasks

The timing options can be set to a schedule that suits you; however, it is not wise to run the script more often than about once every fifteen minutes, since it could bog down your server. We recommend the settings "Every fifteen minutes," "Every Hour," "Every Day," "Every Month," and "Every Weekday."

I'm sorry, but where's that "Command to run" box? And DH's panel doesn't look like an ordinary cPanel

Windows

If Movable Type is running on a Windows server, you can create a scheduled task to achieve the same result. Use the following parameters for your task:

How do I get to this in Windows?

* Name

"Movable Type Tasks".
* Run

The run command should be the path and filename of your Perl interpreter (i.e., C:\Perl\bin\perl.exe), followed by tools\run-periodic-tasks.
* Start In

Should be the full path to your Movable Type directory. Example: C:\Inetpub\wwwroot\mt.
* Schedule

The timing options can be set to a schedule that suits you, however, it is not wise to run the script more often than about once every fifteen minutes, since it could bog down your server. We recommend a frequency between every fifteen minutes to once a day.

Ok, but I believe this only pertains to your home/no hosting Windows server.

So, the question is how would I go about making the future posts in this case?


 
Entire thread
Subject  Posted byPosted on
.Scheduling posts on MT  willdex11/25/06 06:42 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 06:58 PM
.*Re: Scheduling posts on MT  seiler11/25/06 06:51 PM
.*Re: Scheduling posts on MT  willdex11/25/06 06:55 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 07:00 PM
.*Re: Scheduling posts on MT  willdex11/25/06 07:08 PM
.*Re: Scheduling posts on MT  willdex11/25/06 07:25 PM
.*Re: Scheduling posts on MT  willdex11/25/06 07:33 PM
.*Re: Scheduling posts on MT  Raz213311/25/06 07:39 PM
.*Re: Scheduling posts on MT  willdex11/25/06 07:41 PM
.*Re: Scheduling posts on MT  Raz213311/25/06 07:46 PM
.*Re: Scheduling posts on MT  willdex11/25/06 07:51 PM
.*Re: Scheduling posts on MT  Raz213311/25/06 08:06 PM
.*Re: Scheduling posts on MT  willdex11/25/06 08:23 PM
.*Re: Scheduling posts on MT  quanin11/25/06 08:36 PM
.*Re: Scheduling posts on MT  willdex11/25/06 08:44 PM
.*Re: Scheduling posts on MT  quanin11/25/06 08:47 PM
.*Re: Scheduling posts on MT  willdex11/25/06 08:51 PM
.*Re: Scheduling posts on MT  quanin11/25/06 08:53 PM
.*Re: Scheduling posts on MT  willdex11/25/06 08:58 PM
.*Re: Scheduling posts on MT  quanin11/25/06 09:01 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:03 PM
.*Re: Scheduling posts on MT  quanin11/25/06 09:05 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:10 PM
.*Re: Scheduling posts on MT  quanin11/25/06 09:13 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:16 PM
.*Re: Scheduling posts on MT  quanin11/25/06 09:18 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:22 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:32 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:45 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 09:55 PM
.*Re: Scheduling posts on MT  quanin11/25/06 09:57 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 09:59 PM
.*Re: Scheduling posts on MT  quanin11/25/06 10:04 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 10:05 PM
.*Re: Scheduling posts on MT  willdex11/25/06 10:28 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 11:48 PM
.*Re: Scheduling posts on MT  willdex11/25/06 11:59 PM
.*Re: Scheduling posts on MT  anonymous211/26/06 07:45 AM
.*Re: Scheduling posts on MT  willdex11/26/06 08:15 AM
.*Re: Scheduling posts on MT  willdex11/26/06 12:47 PM
.*Re: Scheduling posts on MT  willdex11/26/06 01:04 PM
.*Re: Scheduling posts on MT  willdex11/26/06 01:11 PM
.*Re: Scheduling posts on MT  willdex11/26/06 01:16 PM
.*Re: Scheduling posts on MT  willdex11/26/06 01:42 PM
.*Re: Scheduling posts on MT  rlparker11/26/06 00:14 AM
.*Re: Scheduling posts on MT  willdex11/26/06 00:20 AM
.*Re: Scheduling posts on MT  rlparker11/26/06 00:39 AM
.*Re: Scheduling posts on MT  quanin11/26/06 02:55 AM
.*Re: Scheduling posts on MT  willdex11/26/06 00:37 AM
.*Re: Scheduling posts on MT  rlparker11/25/06 10:40 PM
.*Re: Scheduling posts on MT  willdex11/25/06 10:48 PM
.*Re: Scheduling posts on MT  willdex11/25/06 10:51 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 10:56 PM
.*Re: Scheduling posts on MT  willdex11/25/06 10:57 PM
.*Re: Scheduling posts on MT  rlparker11/25/06 10:50 PM
.*Re: Scheduling posts on MT  willdex11/25/06 09:52 PM
.*Re: Scheduling posts on MT  quanin11/25/06 09:54 PM
.*Re: Scheduling posts on MT  willdex11/25/06 10:05 PM
.*Re: Scheduling posts on MT  willdex11/25/06 08:31 PM
.*Re: Scheduling posts on MT  willdex11/25/06 08:02 PM
Jump to