I've checked the logs at all the times, there is nothing there. I do see the cron job opening a session, executing and closing the session at the right intervals.
Last night, the script ran 13 times, and it only filled the database 3 times. I'm not sure what's wrong. Every time i run the script...