auto-selfcontrol icon indicating copy to clipboard operation
auto-selfcontrol copied to clipboard

Need to restart computer for the block to occur the next day

Open yogurtsake opened this issue 4 years ago • 1 comments

Hi, so I set my schedule to be activated at 12:05 am to 11:59pm. When I run auto-selfcontrol activate, it runs for the whole day but is no longer active the next day. It is only active when when I restart my computer, which is expected behavior because the script is in LaunchDaemons. However, I cannot get it to block consecutive days...

FYI: I installed using homebrew and have the latest version of both SelfControl and auto-selfcontrol. Here is my config:

"block-schedules":[
	{
		"weekday": 1,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	},
	{
		"weekday": 2,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	},
	{
		"weekday": 3,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	},
	{
		"weekday": 4,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	},
	{
		"weekday": 5,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	},
	{
		"weekday": 6,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	},
	{
		"weekday": 7,
		"start-hour": 0,
		"start-minute": 5,
		"end-hour": 23,
		"end-minute": 59
	}
]

yogurtsake avatar Sep 06 '20 18:09 yogurtsake

@yogurtsake Did you ever find a resolution to this? @andreasgrill Would I be able to attempt to work on this issue without understanding how SelfControl itself works or how to mitigate it? Might seem like a strange question, but I'm hesitant to learn how to bypass the app that helps me quite a bit. Alternatively, do you know of a way to get this working?

LukeTully avatar Mar 22 '21 03:03 LukeTully