This might work but how do i know if it is working? is it logged anywhere?
From: Michael Stauber <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
_______________________________________________
cobalt-developers mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-developers
