webbtj/app_punch — pull request #1 by RobMoore902 (2014-12-22 21:54:07+00:00)
Title: Release/time logging fixed

- Calculates average arrival and departure times for each person in the database each day.
(cron job runs at 6:00am)
- Every 5 minutes (easily changed to what ever value) The front end application requests a new list of users which are ordered by the server.
- Whenever a user signs in or out the time and day of the week is stored in the database
- If there is no historical data for users on a particular day of the week the systems defaults to 9am - 5pm
- As more and more data is stored the estimation will become more precise.
- There are many statistical techniques that could be implemented in order to gain a more precise guess.