I have a database with information about books and loans from them, when the time that the book can be borrowed then the system should change the status of the loan record. I thought of doing this as a scheduled task, is there any way I can accomplish this task using only PHP (without scheduled windows tasks or linux equivalent)?