Comments (6)
I use a cron job that runs curl against update-quiet.php. You can also just run update-quiet.php directly (also from cron). There's no reason to pass in a specific feed parameter unless you only want to update a single subscribed feed (but why would you want that?).
from feed-on-feeds.
Incidentally, I've started putting together an actual site (to hopefully replace the old feedonfeeds.com) which is currently at http://git.beesbuzz.biz/?p=FeedOnFeeds.git;a=summary - it's biased towards my own fork, of course (and I tend to be a bit more experimentally-biased in what I accept and change), although RomanSixty and I pull from each other fairly often.
from feed-on-feeds.
The original coder says to use something like this in cron:
/usr/bin/wget --output-document=/dev/null --output-file=/dev/null --http-user=feeds --http-passwd=myf33ds http://example.com/update-quiet.php
It should be possible to call the script directly from command line but I haven't tested it yet.
from feed-on-feeds.
It works from the command line or directly via cron by invoking update_quiet.php using a PHP interpreter (usually /usr/bin/php).
from feed-on-feeds.
There are actually good reasons to do it as a round-trip through curl/wget instead of from the command line:
- You can be sure that you're using the same PHP version (including modules etc.) as what's in use for the site
- If your hosting has execution time limits you can be certain that you're abiding by those (this is especially important on shared hosting providers, which may boot you off for "abuse" if you take an endrun around those)
- It can take advantage of whatever fastcgi or bytecode-caching things and database connection pooling on the webserver
- You can decouple the update cron job from the server it's actually running on; again, very useful for shared hosting situations, and other scenarios where you don't have user access to cron from the webserver
So basically I would ONLY recommend using the curl/wget approach, and NOT running it through a commandline interpreter.
from feed-on-feeds.
I'm running FOF on my own servers so I didn't put much thought into why one should use wget instead of a simple shell call to run updates, but those are some good points.
from feed-on-feeds.
Related Issues (20)
- Looks like fvicon.com is down HOT 3
- Themeing HOT 6
- Call to a member function error() on a non-object HOT 6
- PDO driver error ? HOT 2
- Error FATAL: couldn't open logfile /var/fof-data//fof-install.log HOT 15
- Changelog / new features in README HOT 6
- Is this the best feed-of-feeds to use a s a base for more development? HOT 4
- fof_install.php throwing errors due to ' around field names when adding columns/keys HOT 1
- Needs PHP 5.3.6 or higher as it uses 'saveHTML' with a parameter in plugin/item_targets.php HOT 3
- X-WAV podcast enclosures don't play. HOT 2
- Help, I forgot the username and password HOT 1
- Configure plugins as default enabled/disabled
- 'j' paging-down gets stuck on longer entries now HOT 9
- File authorship information needs updating HOT 3
- FoF is double-decoding entities where it shouldn't be HOT 1
- Can you support docker? HOT 3
- YouTube replacement messes up playlist embeds HOT 3
- PHP 8.x HOT 1
- Some requests not using data compression (Accept-Encoding)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feed-on-feeds.