adjusted cron removed second purge memqueue; put edgar scan in true false loop