This is in continuation with one of my older questions. I want to execute a program based on two conditions, N inserts in a database and time interval. I got two brilliant answers as well. This is one of them, here.
I implemented the solution in similar lines. So, I expected the program to run according to both threads -A run because of database check at every single minute and time based run at every 5 minutes. But I am seeing only time based running happens every 5 minutes and database checking is happening just once.
Could you please advise what causes this.