Solved

Data in row trigger batch

Posted on 2014-01-11
2
307 Views
Last Modified: 2014-03-03
Hi all,

I am looking to see if this is possible.

When a row is populated with data (typically the first row), I want to then automatically trigger a batch file to start.

Is this possible?

I'm using phpmysql so don't think that it's possible, however I can use MySQL from Microsoft as I have a licence. Although, not fully sure what version I should be using.

Thanks in advance
0
Comment
Question by:oconnork00
2 Comments
 
LVL 13

Accepted Solution

by:
duncanb7 earned 500 total points
ID: 39774646
Could you write php code to access your database ? and then use
exec() function  in your php code  to trigger your batch file running on window
when the rows data is updated or accessed.
There is apache server for  window  version such as XAMPP  that you can run
php programming. If not, I think it is hard to do that on just mysql or phpmyadmin
and only mysql running on batch mode  with system command
to trigger shell command , for example, mysql>system ls that will list linux directory

Hope understand your question completely, if not , please pt it out

Duncan
0
 
LVL 25

Expert Comment

by:Tomas Helgi Johannsson
ID: 39778654
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question