There are a couple of ways. My prefrence is to control the output
directly from the app in PHP. However you should be able to pipe the
output to a file without issue.
Cheers,
m!
On Jan 17, 2010, at 15:48, Diego Montalvo wrote:
One other question, is there a way to copy the ouput of the c
One other question, is there a way to copy the ouput of the crontab
"php" file to another file?
Simply the "hello world" output and not the code... ??
2010/1/17 mikel king :
>
> On Jan 17, 2010, at 3:01 PM, Diego Montalvo wrote:
>
>> I am using "
>>
>> 2010/1/17 mikel king :
>>>
>>> On Jan 17,
On Jan 17, 2010, at 3:01 PM, Diego Montalvo wrote:
I am using "
2010/1/17 mikel king :
On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote:
CLI meaning, if I can run and excute in
command line, a php file can run in crontab? doing the following
in
shell: "# php helloworld.php" - "hello
> I am wanting to execute a PHP file 5 times a day via crontab. Is it
> possible? If so what is the proper crontab command for this?
Hi. I'm running several PHP programs via cron.
#1 Make sure you have CLI (command line interface) in your PHP port:
As root,
> cd /usr/ports/lang/php5
> make c
I am using "
2010/1/17 mikel king :
>
> On Jan 17, 2010, at 2:30 PM, Diego Montalvo wrote:
>
>> CLI meaning, if I can run and excute in
>> command line, a php file can run in crontab? doing the following in
>> shell: "# php helloworld.php" - "hello world" is produced...
>>
>> Thanks!
>>
>>
>
>
CLI meaning, if I can run and excute in
command line, a php file can run in crontab? doing the following in
shell: "# php helloworld.php" - "hello world" is produced...
Thanks!
2010/1/17 mikel king :
>
>
> On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote:
>
> I am wanting to execute a PHP f
On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote:
I am wanting to execute a PHP file 5 times a day via crontab. Is it
possible? If so what is the proper crontab command for this?
Thanks,
Diego
Diego,
Certainly, but you must ensure that you have the CLI version of PHP
installed.
Reg