Tux Kapono
Jan 4 2008, 06:46 AM
I did scheduled daily entries set with cron jobs on MT3, but since I 'upgraded' to MT4 they don't work. I really don't know what the issue is, unless it's related to the fact that I manually set my basename (archive mapping) because it's a known issue that MT4's 'Preview' feature won't work if that's the case.
CowPi
Jan 7 2008, 09:42 PM
Under Preferences > Blog Settings > Publishing, do you have the "Use Publishing Queue" box checked? This is required for background publishing for static pages and employs our cron job.
Tux Kapono
Jan 8 2008, 06:47 AM
Wow, thanks CowPi, I would have never known I had to check that given that I never had to with other updates. I'm glad it's now in this forum database. I haven't tested it yet, but I'm sure it'll work now.
QUOTE (CowPi @ Jan 7 2008, 11:42 PM)

Under Preferences > Blog Settings > Publishing, do you have the "Use Publishing Queue" box checked? This is required for background publishing for static pages and employs our cron job.
This doesn't immediately appear to have anything to do with the original question. The Publishing Queue is separate from scheduled posting, and is not required for it at all.
Tux Kapono
Jan 8 2008, 10:27 AM
Yep, I realized that, and noticed the
topic CowPi started. I have a feeling it has something to do with the fact that those who change their basename can't see their entry in Preview. I guess I'll just have to wait until 4.1.
Tux Kapono
Jan 18 2008, 09:41 AM
OK, I upgraded to MT 4.1 (B3) and it's still not publishing as scheduled. I even have two cron jobs set, the first one being for every hour, the other for everyday at 3 am. What to do?! Help!
danwolfgang
Jan 18 2008, 04:15 PM
Are you sure that run-periodic-tasks is actually running? Is the path correct? Can you run run-periodic-tasks from the command line? Are permissions on run-periodic-tasks correct?
Tux Kapono
Jan 19 2008, 07:10 AM
Excuse the inexperience, but how do I check this? The path in cron is: /public_html/mt/; ./tools/run-periodic-tasks, though the literal path is: /public_html/mt/tools/run-periodic-tasks. Not sure what the "; ." means, but it's worked before as such. The permissions are 644.
danwolfgang
Jan 19 2008, 01:22 PM
QUOTE (Tux Kapono @ Jan 19 2008, 10:10 AM)

Excuse the inexperience, but how do I check this? The path in cron is: /public_html/mt/; ./tools/run-periodic-tasks, though the literal path is: /public_html/mt/tools/run-periodic-tasks. Not sure what the "; ." means, but it's worked before as such. The permissions are 644.
I wouldn't expect that to work unless public_html really is at the root of your server--doubtful. The path is probably something like /var/www/vhosts/domain.com/public_html/mt/tools/run-periodic-taks or something. Compare to the Site Root of your blog (in Blog Settings|Publishing) to find the real path.
You might also refer to the bottom of
this page about how to set up the cron job.
Tux Kapono
Jan 19 2008, 07:58 PM
The full path is actually: cd /home/myusername/public_html/mt/; ./tools/run-periodic-tasks and was working for years until I installed 4.0. I'm not changing the base name either - the blog happens to be www.cooltownstudios.com if that provides any insight. I'm just wondering if '; .' is still necessary. I got the path info instructions
here.
Use Publishing Queue is discussed above and isn't what I'm looking to do.
Does anyone even have the Scheduled feature working in 4.0?
Su-
Jan 20 2008, 03:37 AM
Hold on:
QUOTE (Tux Kapono @ Jan 19 2008, 09:10 AM)

The permissions are 644.
The permissions on
what are 644? That doesn't allow execution, which would explain why your script isn't, well...executing. Have you tried setting that to 755?
Tux Kapono
Jan 20 2008, 03:53 AM
Thanks Su-.
Solution: Set permissions on run-periodic-tasks to 755.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.