Fixing race condition with rds log cron and copying all rds.log files to temp