On Wed, Mar 23, 2011 at 10:05 PM, Rony Bill gnulinuxist@gmail.com wrote:
The attendance register that I am making will give a welcome message on the console and ask for the name. When the employee punches in his/her name, the common script will calculate how late/early the person is with the reference time. It will also click a photo of the person and make a tiny image saved with that user's name and the current date. The time difference will be recorded in the csv file created with the same user's name. At the beginning of the month or end, a separate cron script will move all the user.csv files to another location. This ensures each csv file has a monthly data only. The original script will re-create the new csv files and append them daily.
An after thought. I don't need to move user.csv scripts anywhere. I just add a $month to the user.csv files and each one will be monthly automatically.
-- As a proper list etiquette..... Please trim your replies. Avoid cross posting to other lists. Members do not want to waste time answering same queries that may have been answered on other lists. Replies from other lists, to cross posted mails are not available to our members. Post your replies below the relevant original text, leaving a line space. Do not re-use old messages to write new ones. For new messages, create a new message.Regards,
Rony.