Page 1 of 1

cronjob PHP for RSS feeds

Posted: Fri Jun 23, 2006 6:54 pm
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! .

Posted: Fri Jun 23, 2006 10:14 pm
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.