Google App Script to generate a email report of your working times using only OOO events
-
Create a new project
-
Copy the source/ files at the new project
-
Setup Services:
- Gmail v1
- Google Calendar v3
-
Put your email at Code.gs#EMAIL
-
RUN!
Iβm always registering OOO events on calendar when Iβm not working or when I go to sleep, etc. Since I canβt predict at a 100% when I will wake up etc, I normally modify the end of OOO events when I start working again.
So, my google calendar looks like this:
Since I have all my working hours registered this way, I created a script to generate a Checkin/Checkout report and calculate the worked hours. Of course this could have some error margins, but I think is useful!
Also, since I work with chaotic hours, I can track if my total week hours makes sense. π
So I receive an automated email like this: