Pseudo cron

Gesperrt
alessandro
Beiträge: 53
Registriert: Fr 14. Nov 2003, 10:08
Wohnort: Switzerland
Kontaktdaten:

Pseudo cron

Beitrag von alessandro »

Hi all,
I tried to use pseudocron to call a php file under another directory than <docroot>/contenido/cronjobs.

My php file is under <docroot>/phpMySearch/spider.php

The problem is that if I call the path in the crontab.txt nothing happend...

So I tried to call a URL like that:
0 5 * * * http://myserver.domain.ch/phpMySearch/spider.php

The php file is called but in every web site pages I receive the output of the spider.php file on the top of the page.

Do somebody have an idea of the way to solve this problem?

Thanks.

Alessandro
Alessandro Marrarosa
Dipl. Wirtschaftsinformatiker HF
The Swiss Post
Information Technology Services
CH-6501 Bellinzona
emergence
Beiträge: 10653
Registriert: Mo 28. Jul 2003, 12:49
Wohnort: Austria
Kontaktdaten:

Beitrag von emergence »

pseudo cron does not suppress the output of your script !
*** make your own tools (wishlist :: thx)
alessandro
Beiträge: 53
Registriert: Fr 14. Nov 2003, 10:08
Wohnort: Switzerland
Kontaktdaten:

Beitrag von alessandro »

Hi I found in the spider php file that is possible to deactivate the echo output.

Now it works fine.

Bye.

Alessandro
Alessandro Marrarosa
Dipl. Wirtschaftsinformatiker HF
The Swiss Post
Information Technology Services
CH-6501 Bellinzona
Gesperrt