Reply to Re: working with php as script in windows tasks

Your name:

Reply:


Posted by ManChild on 09/07/05 03:06

av_nagar@zahav.net.il wrote:
> hello -
>
> I would like to know how do i work with php in windows tasks.
>
> i developed a php web application and i would like to recieve to my
> email every day a certain report which will be produced by a php
> script.
>
> thanks in advance for any help
>

You can use the php.exe to run a script --- I have done so. In
conjunction with the scheduler service you can produce your report - or
at least have PHP run the script to.

Something like the following command should do it.

C:\php\php.exe c:\myapp\myscript.php


I actually use cron for Windows to do this --

http://www.kalab.com/freeware/cron/cron.htm

J

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация