Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I often overwork myself, in the sense that nothing can make me stop coding or reading papers and other resources on the internet. I stay up all night doing that, and the day after, I simply feel terrible due to lack of sleep. Even if I don't stay up all night, I often stay up until very late and still get very little sleep.

So, I was wondering if there is a way to make GRUB simply refuse to boot after a set time in the evening, and keep having this behavior until early in the morning. I did a few searches, but it seems like nobody else on the internet has ever felt the need of doing this.

share|improve this question

migrated from Sep 8 '12 at 12:43

This question came from our site for professional and enthusiast programmers.

The root of the problem is not technical, and as such is not solvable by purely technical means - I guess you might start keeping your computer powered on, to avoid boot issues. If you want to go the technical way, how about a check in your login script? – Piskvor Feb 7 '11 at 15:54

I don't think that's something which GRUB is able to do. You might want to try an alternative, for example, a combination of and

share|improve this answer

You must log in to answer this question.