How to update all records in a column every minute?
I have this example:
I borrowed a book at(9/1/2016) and the deadline of my borrowed book is on (9/2/2016), when the deadline has passed and i still didn't return the book after 1 week ill have a total penalty of 7 points. 1 point per day for not returning a book.
For example today is 9/4/2016 my total penalty points is 2 points
borroweddate| deadline | penalty
------ | ------ |---------
9/1/2016 | 9/2/2016 | 2
It's hard to explain sorry please help me.