Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2010 11:30:35 -0800
From:      Diego Montalvo <dmontalvo@gmail.com>
To:        mikel king <mikel.king@olivent.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Running PHP File under Crontab...
Message-ID:  <aefec1611001171130r4afbe666t3a77c1a367551a20@mail.gmail.com>
In-Reply-To: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com>
References:  <aefec1611001171028rc1cb284o5ca57bd67eed6c3d@mail.gmail.com> <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
CLI meaning, if I can run and excute <?php echo 'hello world';?> 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 <mikel.king@olivent.com>:
>
>
> 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? =A0If 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.
>
> Regards,
> Mikel King
> CEO, Olivent Technologies
> Senior Editor, BSD News Network
> Columnist, BSD Magazine
> 6 Alpine Court,
> Medford, NY 11763
> o: 631.627.3055 c: 631.796.1499
> skype:mikel.king
> http://olivent.com
> http://mikelking.com
> http://twitter.com/mikelking
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aefec1611001171130r4afbe666t3a77c1a367551a20>