Seite 1 von 1

Pseudo cron

Verfasst: Fr 7. Mai 2004, 14:37
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

Verfasst: Fr 7. Mai 2004, 14:46
von emergence
pseudo cron does not suppress the output of your script !

Verfasst: Mo 10. Mai 2004, 21:52
von alessandro
Hi I found in the spider php file that is possible to deactivate the echo output.

Now it works fine.

Bye.

Alessandro