Solved

Data in row trigger batch

Posted on 2014-01-11
2
302 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now