Martin Nyffenegger
-
2017-01-26
Hi
I installed automysqlbackup on my mac server 10.10.5 and it works when i triger the script in the terminal and i get a dump of all tables and content.
But when i triger the same script with the launchdaemon script (Library/LaunchDaemons/), i only get a Dump of the Table headers. its weird. Is there a problem with launchd or with the user rights? Or any othe suggestions?
Thanks for Help!
Here the launchd.plist script i use:
<dict> <key>Label</key> <string>com.td.automysqlbackup</string> <key>ProgramArguments</key> <array> <string>/usr/local/mysql/bin/automysqlbackup</string> </array> <key>QueueDirectories</key> <array/> <key>StartCalendarInterval</key> <dict> <key>Hour</key> <integer>14</integer> <key>Minute</key> <integer>28</integer> </dict> <key>WatchPaths</key> <array/> <key>UserName</key> <string>root</string> </plist>