batch file - Taking mysql backup using .bat and taskscheduler failed run viataskscheduler -


i create "export.bat" , put these line of code

 @echo off  c:\program files\mysql\mysql server 5.6\bin\mysqldump.exe --user=root --host=localhost --password=mind --protocol=tcp --port=3306 --default-character-set=utf8 --single-transaction=true --routines --events --no-data "db_ows" > ows_back.sql 

when direct run working fine.

but trying task scheduler on windows server 2012, failed. action setting of task scheduler follows.

enter image description here

i change action settings in task scheduler action tab

enter image description here

its works.. (:


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -