Log when entering office

by andreav

Every month I use this rule (and its counterpart) to log time spent at office. At the end of the month, I will extract my timesheet

Wifi Network Available Trigger

Plugin Action

833 Downloads


Rated by 16 users

Share Tweet

Required Apps

com.smarterapps.automateitshellplugin

Comments

To add day, date and time: echo "in,$(date +%a,%d/%m/%Y,%T)"

by kapelis.aristidis

Good idea, but the time? Log entering and log leaving have this ;-)

by cuciolo1

To answer the previous question. I took a look at the code and here is what works for me. Time and date. change your action to this echo "In,$(date +%Y-%m-%d) $(date +%H:%M)" >> /mnt/sdcard/timesheets.csv

by Bill

Interessante.. la provo subito

by fabrixb

it only log date but I wanna log time how can I do that

by aydndgr