separated out predb into its own loop. running it every 2 hours can easily cause gaps in your predb depending on how many you process at a time