Skip to content

Automate clock-outs at midnight #148

@enriquezrene

Description

@enriquezrene

When users clock-in and forget to clock-out we need to automatically clock them out at midnight.

Let's say you clock-in at 9am and then you forget to clock-out. If you query the running entry at the next day and then you clock-out the time entry will have more than 24 hours which will probably be false in most of the cases so in this case we want to automatically clock them out at midnight.

We can perform this check each time the active entry is queried or using a scheduled task running once per day (probably at midnight 😄 🌚 )

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions