windows 2008 task scheduled batch file runs forever
- by phill
I currently have the following batch running in windows 2008 task scheduler.
mysql --user=bobdb --password=letmein --force --named-commands --local-infile=1 --execute="insert into bobdb.attendees (name) values ('bob');insert into bobdb.attendees (name) values ('rick');"
It executes nicely when I run it from a command prompt and it executes when I force it to run and it executes when it is scheduled to run.
My issue is when it does run, the task scheduler seems to keep it running until it hits a timeout. Is there a command to tell it when it is finished running in the batch file so it doesn't throw a timeout error?
thanks in advance