php shell script questions

bill william at TechServSys.com
Tue Jul 14 11:15:45 UTC 2009


I need to run a php script from cron.
I will be developing it from the console using the cli.

for debugging use, do echo statements echo to the console or do I need 
to explicitly open the console for output ?
when I finish the testing and want to start it from cron, would I use
 php {scripname.php}  as the cron command, or is there a shebang that I 
can put at the head of the script and then just cron the scriptname ?

-- 
Bill Drescher
william {at} TechServSys {dot} com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090714/01f8abcb/attachment.html>


More information about the ubuntu-users mailing list