Scheduling posts on MT

apps

#21

That’s the one, yessir.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#22

Ok, so I’ve created and uploaded the file, then ran PuTTY [it was open :)] and:
[tab]$ crontab crontab.txt
[tab]$
Is it setup now?


#23

Yep. Now, because of the nature of the script, you’ll probably get an email every time it posts an entry for you that you’ve scheduled for future. If that happens and you don’t want it to, it’s an easy fix; just add >> /dev/null to the end of the line in crontab.txt and repeat the steps.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#24

Ok, now if something comes up I know where to find you…:slight_smile:


#25

That’s why I’m here, after all.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#26

It’s still not working, I’ve scheduled my post to appear at 2006-11-26 00:08:15, and it still isn’t there…
Status: Scheduled
Entry Date: 2006-11-26 00:08:15


#27

It won’t be there until 15 after the hour server time, as the script will run every 15 minutes. It’s not adviseable to run the script more often than that. From within the shell, type ‘date’ minus quotes to see what the current server time is.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#28

Sat Nov 25 21:14:55 PST 2006
Uhhh…okay, now what?..Oh, !@#$, I should’ve changed the Publish on date, right!


#29

There is no publish on date. Assuming your blog is set for EST, if you go to your website right now, your post should be there.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#30

My blog is setup for EST [UTC -5], but the post still isn’t there…And by Publish on date I meant Entry Date.


#31

Still not there…damn. Should I do anything?


#32

I’ve changed the schedule time back to 2006-11-26 00:43:00 and still nothing.


#33

Ok, I’ve removed that forward slash and re-uploaded the file.


#34

Hang on a sec… really basic thing just popped into my head. Okay, from within your shell account, type the following commands:
cd /home/username/domain/mt/tools
./run-periodic-tasks

Tell me what it says. I think I may know why it won’t play nice.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#35

then it should have run at 0030 EST, should not have done anything since the post was set for 0043, it should have run again at 0045, found your post, and posted it. [i]edited: Never mind me, stick with quanin - he’s got you well handled :wink:

–rlparker


#36

I think I know why it’s not liking him, and it’s something I probably should have had him check before. It would have shown up in the emails but my guess is if he’s getting them, he’s just deleting them. So my last post here will clarify for sure.

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#37

Got it! I edited my post to tell him to stick with you on this one :wink: . Sorry for jumping in (I didn’t know if you were still up)

–rlparker


#38

Appologies neither required nor accepted. Any help is appreciated… I just don’t want him getting any more confused than MT already has a tendancy of making people. :wink:

Yes, I have an opinion.

Get a minimum 50% off with the “haveadreamyday” promo code, and… have a dreamy day. Original, no?


#39

I don’t have a separate mt folder, so I typed

cd /home/willdex/mysite/tools and here’s what came up:

[tab]$ cd /home/willdex/mysite/tools
[tab]$

Then I did this:

[tab]$ ./run-periodic-tasks

And here’s what came up:

-bash: ./run-periodic-tasks: Permission denied
[tab]$


#40

Never a truer phrase was written :slight_smile:

–rlparker