Movable Type: Cronjob and Scheduling Post

Movable Type: Cronjob and Scheduling Post

Posted by: beckydm
Posted on: 2007-03-30 05:48:00

I am attempting to set up the "scheduling post" feature in Movable Type 3, and already:

1) enabled SSH on my account
2) successfully installed PutTY
3) ran the cron job required

using this thread:

http://forum.dreamhosters.com/3rdparty/61716-Scheduling-posts-on-MT.htm

I also already set permission 755 to the MT run-period-task script.

I'm pretty sure the script is working, but scheduled post won't publish. I'm getting this weird error:

> Can't locate MT/Bootstrap.pm in @INC
> (@INC contains: lib ../lib /etc/perl
> /usr/local/lib/perl/5.8.4 /usr/local/shar
> e/perl/5.8.4 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8 /usr/s
> hare/perl/5.8 /usr/local/lib/site_perl .)


I've contacted Dreamhost support, but they've provided no help. I've also tried countless searches online and in the Movable Type forum, but I can't get any troubleshooting tips for this particular problem.

Is there anyone who could help me with this? Please? Thanks in advance!


Re: Movable Type: Cronjob and Scheduling Post

Posted by: matttail
Posted on: 2007-04-01 18:27:00

my crontab entry looks like this:

In reply to:

0,15,30,45 * * * * cd /home/user/domain.com/MT3/; ./tools/run-periodic-tasks > /dev/null


Is that what you crontab entry looks like? If not, try that - changing the appropriate parts for your install and see if that works.




--Matttail
art.googlies.net - personal website

Tags: cron jobmovable typesuccessfully installedputtytype 3ssh