Closed asmikhailov closed 7 years ago
It's somewhat tricky to implement. But nothing is impossible, if enough force and time is given.
The tricky part is, that Redmine has currently no infrastructure for background or timed jobs. We use a Plugin: "Periodic Task" - It requires to install cron jobs. Something similar would be required to stop timers at some points.
To configure this behavior can be tricky. I think of globally distributed teams.
I would guess it's much easier to remember stopping the timer manually. Or book only the valid timespan of a forgotten timer.
An easier solution would be, to keep the tracker running. But once the user who started the tracker gets back to Redmine, the tracker is stopped and all the excess time is discarded.
I don't think that is a feature to implement in the website itself. Too much to have settings needed for. But with the new versions api, one could build a desktop client like toggl has one, which takes note when you close/shutdown your pc and act accordingly.
Is it possible improve time_tracker with excluding non working hours from tracked time on issue? For example hours from 7 pm til 7 am now working hours for me, but if i didn't stop timer manually it keep counting time through all night.