[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] need help with cron
- Subject: Re: [cobalt-developers] need help with cron
- From: Michael Stauber <devel@xxxxxxxxxxxxxx>
- Date: Thu Dec 12 18:30:01 2002
- Organization: SOLARSPEED.NET
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> 0 * * * * wget -q -O -
> http://www.domain.com/phpAds/maintenance/maintenance.php
>
> but it is not running. Any ideals? I need a solution i am lost.
If you can execute PHP scripts from the command line, then try the following
instead:
0 * * * * /usr/bin/php
/home/sites/siteXXX/web/phpAds/maintenance/maintenance.php >/dev/null
Wget is the wrong tool for this anyway and if at all, then you should use Lynx
instead. I think the following syntax once worked for me:
0 * * * * /usr/bin/lynx -dump
http://www.domain.com/phpAds/maintenance/maintenance.php >/dev/null
--
With best regards,
Michael Stauber