save mysql backup to afp network drive fails as cron job
Found the solution: The problem was, that the mysqldump command could not be find. I needed to add the absolute path to it /Applications/MySQLWorkbench.app/Contents/MacOS/mysqldump

Thanks to patrix and Allan for that tip.