Simple Computer Based Project Time Log Answered
Recently I've been playing around with BASH and terminal in linux more. I've also been trying to become more organized and use my time more efficiently. Since I'm not studying CS or working with computers for a living these two things usually work against each other.
It's winter break for me now though, so I can play around as much as I want, and in doing so I've come up with a basic way to track time spent working on each project for my next semester.
How it works: I plug in a 1GB USB drive (smallest I have) which is labeled "Time Card". Time Card has an autorun script on it. Linux prevents this from actually running automatically, but tells me it's there with the option to run it. The autorun script launches a script from my computer which asks me which project I'm working on. The script logs the 'Time In' and, once the "Time Card" USB is removed, logs the 'Time Out' and 'Total Time Spent' in minutes, to a text file with the name of the project.
It's nothing special, but I'm a little excited about it and wanted to share. I've attached slightly modified copies as text files for anyone interested.
Edit: I've also uploaded a sample output file (project.txt)