473,385 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Batch Job Scheduler

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

Oct 8 '07 #1
2 4069
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

pa***********@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/
Oct 8 '07 #2
On 8 Oct, 05:41, "patrice.fi...@gmail.com" <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.
Oct 8 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: keepyourstupidspam | last post by:
Anyone know of a reliable design for a Windows C++ Task Scheduler Class. The scheduler will expose a member function that will add schedules, its parameters will be an interval to run the tasks...
5
by: Bob Darlington | last post by:
I want to run the following batch file from Scheduler each night from a command line: 'm:\dpc data\createbackup.bat' The batch file is simply: ECHO Off Start createbackup.mdb where...
3
by: orekinbck | last post by:
Hi There I have this batch file that I run at the end of each week: Cleanmgr Defrag C: Echo y > y.txt chkdsk C: /r < y.txt
3
by: Chris | last post by:
Hi, How can I execute a batch file form asp.net app. I have a form which a user uploads a text file. after the file is uploaded I want a batch file to then execute and do some work. Thanks
4
by: CliffKing | last post by:
I am trying to use Windows Task Scheduler to run a batch file for an already open MS Access database. Below is the syntax to the batch file: Batch file: DailySalesExport.bat REM This runs the...
4
by: acantatore | last post by:
Hello! I'm looking for patterns, best practices, examples - reference material - that apply to Batch Processing, that is: Basic job control (start and stop) Job partitioning Parallel...
5
by: msivamani | last post by:
I have written a batch file for ftp ing some log files from unix server... and scheduled it to run every day using Windows Scheduler... But when i see the next day the status will be "Could not...
2
by: gsander | last post by:
We have a W2K / Access2K environment where recent maintenance has prevented the /X commandline switch from starting macro's. We have several "batch" processes that run at night using the task...
3
by: John | last post by:
Hi. I have a number of batch jobs that are ran nightly on our Windows 2000 based Oracle 8.1.7 (soon to be 9i) server. I have these designed just right, so the Windows Scheduled Tasks runs them...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.