[GH-ISSUE #340] working hours setting does not work #291

Closed
opened 2026-03-02 23:39:17 +03:00 by kerem · 1 comment
Owner

Originally created by @rxng on GitHub (May 13, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/340

Interact.json has this setting

{
    "parameter-name": "working_hours",
    "enabled": true,
    "value": "4-6",
    "description" : "set working hours to the script, disabled by default. It can be a number presenting specific hour (e.g. 13) or a range (e.g. 9-21)"
  },

However, total duration is 8 hours

Total duration: 8:02:54.464267

Originally created by @rxng on GitHub (May 13, 2021). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/340 Interact.json has this setting ``` { "parameter-name": "working_hours", "enabled": true, "value": "4-6", "description" : "set working hours to the script, disabled by default. It can be a number presenting specific hour (e.g. 13) or a range (e.g. 9-21)" }, ``` However, total duration is 8 hours Total duration: 8:02:54.464267
kerem closed this issue 2026-03-02 23:39:17 +03:00
Author
Owner

@alexal1 commented on GitHub (Jun 21, 2021):

@rxng working_hours means time when script can be launched. If you want to limit session length, use

{
    "parameter-name": "session_length_in_mins_limit",
    "enabled": true,
    "value": "40-80",
    "description" : "limit the session length by time (minutes), disabled by default. It can be a number (e.g. 60) or a range (e.g. 40-70)"
},
<!-- gh-comment-id:865268837 --> @alexal1 commented on GitHub (Jun 21, 2021): @rxng `working_hours` means time when script can be launched. If you want to limit session length, use ``` { "parameter-name": "session_length_in_mins_limit", "enabled": true, "value": "40-80", "description" : "limit the session length by time (minutes), disabled by default. It can be a number (e.g. 60) or a range (e.g. 40-70)" }, ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#291
No description provided.