J
Janet
I have the following command which runs great via the Command Line:
First I do: cd C:\Program Files\MySQL\MySQL Server 5.0\bin
then: mysql.exe --user=test --password=test testing_db -e "update
table set visible=1 where name='TC1';"
All works fine. I am trying to translate that into a Scheduled Task
using the Task Scheduler in Windows Server 2008.
In the Action area, under Program/Script I have:
"C:\Program Files\MySQL\MySQL Server 5.0\bin"
Under Arguments I have:
mysql.exe --user=test --password=test testing_db -e "update table set
visible=1 where name='TC1';"
It is not working. The error says "cannot find the file specified"
but I know the path is correct. If I specify the mysql or mysql.exe
at the end of the Program/Script line, I just get the basic mysql help
command line popup.
Can anyone tell me what I am doing wrong? How do I get this to work in
the Task Scheduler?
First I do: cd C:\Program Files\MySQL\MySQL Server 5.0\bin
then: mysql.exe --user=test --password=test testing_db -e "update
table set visible=1 where name='TC1';"
All works fine. I am trying to translate that into a Scheduled Task
using the Task Scheduler in Windows Server 2008.
In the Action area, under Program/Script I have:
"C:\Program Files\MySQL\MySQL Server 5.0\bin"
Under Arguments I have:
mysql.exe --user=test --password=test testing_db -e "update table set
visible=1 where name='TC1';"
It is not working. The error says "cannot find the file specified"
but I know the path is correct. If I specify the mysql or mysql.exe
at the end of the Program/Script line, I just get the basic mysql help
command line popup.
Can anyone tell me what I am doing wrong? How do I get this to work in
the Task Scheduler?