RE: PHP + Cron jobs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



_______________________________________
O/H Waynn Lue ??????:
Perhaps this would do the job much better.

12 6 * * * php -f /home/foo/temp.php

Probably no different, unless the new-fangled -f implies -q, and he's running the new version of PHP, which I doubt.

Also consider an alternative solution. Add this on the first line of the
php script:

#! /usr/bin/php

This will work if that is where his CLI php lives.

If that's his CGI php that the cron is finding, and his shell PHP is something else, it won't change a thing.


_______________________________________________________

The  information in this email or in any file attached
hereto is intended only for the personal and confiden-
tial  use  of  the individual or entity to which it is
addressed and may contain information that is  propri-
etary  and  confidential.  If you are not the intended
recipient of this message you are hereby notified that
any  review, dissemination, distribution or copying of
this message is strictly prohibited.  This  communica-
tion  is  for information purposes only and should not
be regarded as an offer to sell or as  a  solicitation
of an offer to buy any financial product. Email trans-
mission cannot be guaranteed to be  secure  or  error-
free. P6070214

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux