added Cap tasks to swap dbs and restart app [#82899236]