A
A
Andrey2019-01-25 02:48:45
linux
Andrey, 2019-01-25 02:48:45

What are the programs for Linux that do not allow to work in a certain period?

The goal is to go to bed on time. I would like to put some kind of program that would not allow turning on the computer at night (for example, from 22.00 to 08.00). Is there any software that helps to do this? I understand that it can be turned off under sudo, but at least some step towards healthy sleep will be made

Answer the question

In order to leave comments, you need to log in

5 answer(s)
P
Pavel K, 2019-01-25
@PavelK

It would be more correct not to turn it on, but turn it off immediately when you turn it on (otherwise, only in hardware, for example, using Arduina :) The
easiest way is to write a bash script and run it on Kron every, for example, 10 minutes. In the script, find out the time and and if within hours of sleep, then shutdown -t now

U
uvelichitel, 2019-01-25
@uvelichitel

There are programs that change the color temperature of the monitor in accordance with the time of day of your location. For example Redshift . Of course, no one can force you to sleep, or not to work. But, in my experience, when the picture on the monitor becomes warmer and more muted, the body more accurately perceives time at the sensory level, reflexes are triggered and at least a little sleepy.

P
Pavstyuk, 2019-01-25
@Pavstyuk

There used to be such a parental control program in the Ubuntu repositories: Nanny - a parental control. Perhaps someone else contains it in the ppa.
https://mintguide.org/other/227-nanny-a-parental-c...

A
A person from Kazakhstan, 2019-01-25
@LenovoId

alarm clock - started at 21:00 it will turn on 100% without any problems

V
Vladimir Kuts, 2019-01-25
@fox_12

Buy a timer in a socket type Navigator 61 555 NTR-E-S01-WH.
Yes, set up the program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question