Forums / Setup & design / problem with runcronjobs.php (no output)!!

problem with runcronjobs.php (no output)!!

Author Message

Marko Žmak

Sunday 09 October 2005 4:04:15 am

I started runcronjobs.php like this:

php -d memory_limit=200M -C runcronjobs.php

and the script is just executing for a long time without any output. I know that is doing something because some objects waiting for approval were published, but there's no output from the sript and it's running way to long. I also tried runing it without -C flag:

php -d memory_limit=200M runcronjobs.php

but the effect is the same.

Can anyone help me with this one?

Im using:

eZ 3.6.1
PHP 4.3.10-16 (cli)

Thx in advance.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Sunday 09 October 2005 4:26:31 am

I did some debugging and gfound out that a large amount of time is required to run:

linkcheck.php

Is this script really so time consuming or there's something wrong with my sistem?

P.S. When I disable the linkcheck.php script in cronjob.ini.append.php then everything works O.K.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Arran Price

Sunday 09 October 2005 3:51:36 pm

Hi Marko,
just guessing here, but if you have an large number of links on your site then it might be slow. The other reason is that it might not have access to check the links and could be timing out (script needs access to the internet which is disabled by firewall for instance?). I havent checked the script to see if it handles that situation well.

Arran

Marko Žmak

Tuesday 11 October 2005 11:03:10 pm

Is there any way I could se some debug infp for this script? Or maybe some progres indicator, to see where is stuck?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth