Configure auto shut-downs

So, all you have to do is the following:

For Windows: Follow this guide.

For Mac and Linux:

Open the terminal, and type:

sudo crontab -e

Then press ‘i’ to go into ‘Insert Mode’.

Then paste this line in:

59 23 * * 1-5 sudo /sbin/shutdown -h now

Then hit escape and then type to save and quit:


This will shut down your computer at 23:59 Monday to Friday.


About the Author

Nick Hatter
BSc (Hons), Accredited Enneagram Practitioner, NLP Master Coach, MAC

Nick Hatter is an Accredited Life Coach and Neuro-linguistic Programming (NLP) Master Coach, and is certified in Positive Psychology for Coaching and Resilience Skills. He is an expert on well-being and is one of London's leading career and life coaches.

He has featured on BBC, Channel 4, Forbes, Metro, AskMen, HuffPost and more.

Follow Nick on Twitter: @theNickHatter

Book a an initial consultation →

View bio →

Free weekly life coaching

And four powerful tips to transform your life.

Your data is protected and your information will not be shared. See privacy policy.