Fix dump_dashboard_database and redirect output

cron dump_dashboard_database failed due to no access to /root and redirect outpout to log to avoid generating mail to root