An add-on to gtimelog.
- Can remember already sent daily, weekly and monthly time reports.
- Has integrated SMTP client for sending mails.
- Can send all not yet sent time logs with one command (interactively). Allows to edit report before sending, using your favorite text editor.
- Can track overtime by specified working hours, with holiday support.
- Integrates with Timesheet Android app (experimental). This allows to track time with both, gtimelog and Timesheet.
Currently the only available options is to grab it from git repo:
virtualenv --system-site-packages env env/bin/pip install -e git+https://github.com/ProgrammersOfVilnius/gtimesheet.git#egg=gtimesheet
Setup your ~/.gtimelog/gtimelogrc
:
[gtimelog] ... [gtimesheet] from-email = [email protected] sent-reports = ~/.gtimelog/sentreports.log timesheet-db = ~/Dropbox/Apps/AadhkTimeTracker Lite/timetracker.db timelog = ~/.gtimelog/timelog.txt holidays = ~/.gtimelog/holidays.cfg part-time = 4.2 smtp-username = # If not specified takes value from from-email smtp-password = # You can specify password here in plain text or use smtp-ask-password smtp-server = smtp.gmail.com smtp-port = 587 smtp-ask-password = true
If you where using gtimelog before, for the first time, flag all previous
reports as already sent (information will be added to
~/.gtimelog/sentreports.log
file):
gtimesheet send --fake
Use, gtimelog as before. Only, do not sent logs using gtimelog, but instead use this command:
gtimesheet send --fake
This command detects all missing log reports to be sent, and interactively asks for your approval before sending each report.
In order to use Timesheet, you need to specify path to Timesheet's SQLite
database using timesheet-db
parameter in ~/.gtimelog/gtimelogrc
. Timesheet
allows to export all data to SQLite format.
It is up to you, how you synchronize this database file between you mobile phone and you computer. One of ways to do it, is to use Dropbox.
When SQLite database from Timesheet is in place, you can run:
gtimesheet send
Time log entries from gtimelog and Timesheet will be merged and time reports will be sent.