How To Implement an Auto-Check-out Feature for Attendance?

How To Implement an Auto-Check-out Feature for Attendance?

If an employee forgets to check out, the system should automatically check out the employee at 6:30 PM