Pure Web Solution wrote:
I run several PHP scripts via CRON in the following way:
put the following in the top of the php script:
#!/usr/local/bin/php -q (linux system - location of php bin)
and in the CRONTAB I have the following:
10 1 * * * root /usr/local/bin/php -q /script/CRONexport.php
the -q supress HTML headers.
hope this helps!
Yes it does. Thanks :)
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php