Scheduling posts on MT
Posted by: willdex
Posted on: 2006-11-25 18:42:00
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:Perlbinperl.exe), followed by toolsrun-periodic-tasks.
* Start In
Should be the full path to your Movable Type directory. Example: C:Inetpubwwwrootmt.
* 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?