cronjob PHP for RSS feeds

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
conglomco
Regular
Posts: 18
Joined: Tue Jun 20, 2006 4:23 pm
Location: TEXAS / NYC

cronjob PHP for RSS feeds

Post by conglomco »

Hello,
I need to set up a cronjob on my server so the RSS feeds to my blog will update at regular intervals.
I am using the RSS Aggregator Plugin, so I need to call this URL :

Code: Select all

http://mysite.org/serendipity/index.php?/plugin/aggregator
How do I do this with PHP on my server. I read that wget would work, but once I set up the little script, how do I get it to run on my server? The server that is hosting my blog is running Slackware Linux if this makes any difference.

thanks for the HELP! .
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

PHP doesn't have any direct access to cron. You'll have to do it some other way.

It depends on your server. For instance, on PowWeb, you can log into the
member control panel ("OPS"), and under Site Tools, you'll find a "crontab" section. That gives you a nice webform to enter new cron jobs.

Your server may have some similar, web-based mechanism. Ask them or check their forums.

If you have shell access, and you're running a Linux system, you can use the "crontab" command, instead. Use "man crontab" for options.
Judebert
---
Website | Wishlist | PayPal
Post Reply