From: Michael Stauber <devel@xxxxxxxxxxxxxx>
Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] need help with cron
Date: Fri, 13 Dec 2002 03:29:42 +0100
> 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
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers