Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-07-2006, 08:48 PM   #1
chadglni
Confirmed User
 
Join Date: Dec 2002
Location: PEI, Canada
Posts: 6,924
Does anyone here use feedwordpress or autoblogger with a cron job?

When I updated to the newer version of feedwordpress my cron job to run update-feeds.php quit working correctly. Does anyone know how to make this run with the lastest v?
chadglni is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2006, 08:51 PM   #2
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
Do you get an error when you try to sync it manually?
If so, whats the error? Just wanna see if its the same as I get.

I ran into the same crap lately...

Interested in this also.
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2006, 09:06 PM   #3
chadglni
Confirmed User
 
Join Date: Dec 2002
Location: PEI, Canada
Posts: 6,924
Quote:
Originally Posted by JOKER | JOKEREMPIRE Inc.
Do you get an error when you try to sync it manually?
If so, whats the error? Just wanna see if its the same as I get.

I ran into the same crap lately...

Interested in this also.
Well I used to just cron wget the update-feeds.php link and it worked. Since I updated it just loads the page that has the update button and doesn't auto update them. Not sure if my settings are different or what.

Edit: Haven't noticed any errors on the manual updates but haven't tried but a few times.
chadglni is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2006, 09:18 PM   #4
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
Have you updated feedwordpress or wordpress itself?

If you've updated feedwordpress, pay attention to this passage in the README:

Quote:
If you *can* create a crontab on your web host, then the best thing to
do is to create a cron job that will run update-feeds.php through the
PHP command-line interface. For example, if you have WordPress installed
in `~/www/wp` (where ~ is your home directory), you might insert the
following line into your crontab:

25 * * * * cd $HOME/www/wp/wp-content ; php -q update-feeds.php

If you *don't* have access to (a), you can still save the day using
another computer with always-on Internet access that sends a POST
request to the `update-feeds.php` URI on a regular schedule. So, for
example, if you have WordPress installed at <http://www.zyx.com/blog>,
and you have a dummy user in your WordPress database with the login name
'login' and the password 'pass', then you could add the following line
to the crontab on a home Linux box:

25 * * * * curl --user login:pass http://www.zyx.com/blog/wp-content/update-feeds.php -d update=quiet

The `-d update=quiet` switch ensures that (1) `update-feeds.php` will
receive an HTTP POST request rather than an HTTP GET request (which
is important, since it won't take any actions with side-effects -- such
as checking for new posts -- unless it receives an HTTP POST); it also
tells it to suppress the HTML output that it would generate for normal
web browsers, and only to output text if it encounters errors (this will
keep the number of e-mails you receive from the Cron Daemon to a
minimum).

If you are using Windows XP and have a version of curl (such as the
version included in [Cygwin][]), you can create a Scheduled Task to
similar effect.

[Cygwin]: http://www.cygwin.com/
ch33rs,
Steve
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2006, 09:20 PM   #5
chadglni
Confirmed User
 
Join Date: Dec 2002
Location: PEI, Canada
Posts: 6,924
Quote:
Originally Posted by JOKER | JOKEREMPIRE Inc.
Have you updated feedwordpress or wordpress itself?

If you've updated feedwordpress, pay attention to this passage in the README:



ch33rs,
Steve
25 * * * * cd $HOME/www/wp/wp-content ; php -q update-feeds.php

Maybe I'm setting this up wrong. I'm not sure exactly how it should look when wordpress is at

mydomain.com/whatever/
chadglni is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2006, 09:24 PM   #6
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
Quote:
Originally Posted by chadglni
25 * * * * cd $HOME/www/wp/wp-content ; php -q update-feeds.php

Maybe I'm setting this up wrong. I'm not sure exactly how it should look when wordpress is at

mydomain.com/whatever/
Thats the problem...

You should change that to your local path on the server, so that PHP is run in the command-line itself...

They obviously changed the methog from using curl / wget to using php itself.

Hope you understood what I wanted to say.
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-07-2006, 09:50 PM   #7
JOKER
Facit Omnia Voluntas
 
JOKER's Avatar
 
Industry Role:
Join Date: Apr 2003
Location: Offshore
Posts: 2,105
I just updated wordpress and feedwordpress to the latest versions and the usual cron with the curl option still works for me:

Code:
curl --user user:pass http://your.url.here/wp-content/update-feeds.php -d update=quiet
Thanx for getting me to update everything properly
__________________
Facilitation - BizDev - Traffic - Consulting - Marketing
Skype: jokerempire | Silent Circle: joker

JOKER is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.