Batch Job Scheduler
am 08.10.2007 06:41:43 von patrice.fiset
Hello Everyone,
I use wamp.org (windows, apache, mysql, php) to develop website in
PHP5 locally, then I copy on a live webserver linux. I need to created
batch job that I can schedule. I saw few things on the net but nothing
really worth while. Any idea where I should look? Ideally the code
would work both in windows environment and linux environment.
Any infos or link would be awesome.
Thanks
Mckaulick
Re: Batch Job Scheduler
am 08.10.2007 09:08:45 von Willem Bogaerts
Sounds like a job for php-cli, the command-line version of PHP. For very
file- or OS specific things you will have to write different code for
each platform though.
Best regards
patrice.fiset@gmail.com wrote:
> Hello Everyone,
>
> I use wamp.org (windows, apache, mysql, php) to develop website in
> PHP5 locally, then I copy on a live webserver linux. I need to created
> batch job that I can schedule. I saw few things on the net but nothing
> really worth while. Any idea where I should look? Ideally the code
> would work both in windows environment and linux environment.
>
> Any infos or link would be awesome.
>
> Thanks
>
> Mckaulick
>
--
Willem Bogaerts
Application smith
Kratz B.V.
http://www.kratz.nl/
Re: Batch Job Scheduler
am 08.10.2007 13:25:31 von colin.mckinnon
On 8 Oct, 05:41, "patrice.fi...@gmail.com"
wrote:
> Hello Everyone,
>
> I use wamp.org (windows, apache, mysql, php) to develop website in
> PHP5 locally, then I copy on a live webserver linux. I need to created
> batch job that I can schedule. I saw few things on the net but nothing
> really worth while. Any idea where I should look? Ideally the code
> would work both in windows environment and linux environment.
>
Read this:
http://www.catb.org/~esr/faqs/smart-questions.html
You don't say *what* it is you need to schedule - the only other thing
you mention is publishing files to your production box, although you
provide no explanation of the mechanism you are trying to automate.
Assuming this is what you want to automate then you might find
PushSite useful (http://sourceforge.net/projects/pushsite/). It is not
being actively maintained but if it doesn't suit your purposes, there
are links to other tools which might be more suitable.
(Note MS-Windows is not really designed for batch processing, but
there is an 'at' service you can use to launch the job).
C.