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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -