PDA

View Full Version : Cron problems


Bornonline
03-27-2006, 11:16 PM
Hi,

I am having some issues getting cron to work correctly.

When I use the ?r=1 to update all feeds it does not work it seems.

I guess I'm confused.. should I use the ?r=number or just the dir_importrss.php. It seems if I put the ?r= I get an error and nothing updates via cron.

php /home/username/public_html/admin/dir_importrss.php?r=1

Status: 404
X-Powered-By: PHP/4.4.1
Content-type: text/html
No input file specified.


When using just dir_importrss.php it seems to run.

root@host [/var/spool/cron]# php /home/username/public_html/admin/dir_importrss.php
X-Powered-By: PHP/4.4.1
Content-Type: text/html; charset=utf-8
Feed #1 ... Done

artwilliams
03-28-2006, 02:43 PM
I just use:

php /home/website/public_html/admin/dir_importrss.php

It works fine.

Bornonline
03-28-2006, 08:01 PM
I agree.. that does work, but what if I want to update categories at different times? It seems using the?=linkdID is not working for me. Updating all the feeds at once is fine, but would like to be able to schedule updates for feeds that are not updated very often.

I would like to find out why I can't use cron to do these individually? Like I said, maybe it's not supposed to work like this and I'm confused.

anon
03-28-2006, 11:12 PM
see if you can pass params.