- I have a cron job which restarts my computer every day (Linux Mint Debian edition). I like waking up to a "fresh" computer, and since I know that it will restart every day - this is a "forcing function" to (1) be diligent about saving things that are important, (2) treating browser tabs, random notes, etc as ephemeral, and bookmarking the important stuff.
I used to work at an office where we pair-programmed with clients all day (Pivotal Labs), and most of our computers had some sort of "automatically restart / restore from a known-good image". I liked this, as it resulted in less cruft over time, and some intentionality about what getting a computer into a productive state means. It also got me thinking of using automatic routines to accomplish goals, and not being so attached to my open tabs, etc. Let it gooo....
To be more specific about this - for those wanting to get into blogging/publishing, this could mean auto-opening the website project folder using VSCodium upon user login, so its ready to go for the morning coffee. More half the time I just close it - but as a "default", it makes it easy for me to do the thing I want to do.
sudo crontab -e -u root
#-----------------------------
# RESTART COMPUTER DAILY
#-----------------------------
00 04 * * * /usr/sbin/shutdown -r +5 "Rebooting in 5 minutes. Run 'shutdown -c' to cancel"
by throw-nodox-23
6 subcomments
- I.. I cannot restart my computer. Why? I work at a smallish agency as a developer. A few years ago we were acquired by a massive global corporation as part of the typical vertical integration strategy these big boys usually run with. Anyway, that’s all dandy as we otherwise would have perished during Covid. But this parent company, as many others, have some rather stringent security policies when it comes to IT. They use ZScaler for ”securing” traffic to- and from its employees’ computers. And wow has this been a boiled frog. At first it was fine, not that big of a deal as not much of our day-to-day tooling was blocked. But slowly and steadily the frog got cooked. Now the frog is basically dead. Like.. dead dead. For example their current configuration of the ZScaler proxy strips ALPN causing all traffic to fallback to HTTP/1.1 which has - well, quite some consequences for web development. There are a gazillion more things - but to really get to the point, no I haven’t restarted my computer in the last euhmm weeks. We found a way to disable ZScaler temporarily to access the ”real” internet, but this loophole has been plugged in their latest rollout. And if I restart my computer the new version will take effect - which will literally make it impossible for me to work. And yes, we have for a long time been trying to explain/escalate this but the red tape and bureaucracy of a massive org like this (where a vast majority doesn’t even know we exist) makes it feel very Sisyphus-esque.
by kylemaxwell
17 subcomments
- I remember when Linux users were practically obsessive about uptime and restarting felt like a sign of failure. This was at a time when Windows seemingly needed to restart once or twice a day, at least.
These days I like to turn my work Mac off at the end of the week just so I feel a literal sense of closure. It's not really the applications minimizing and running in the background; it's ME.
- My Macbook needs a restart periodically. Somehow my quite limited disk space (500GB) is getting lower and lower and lower to the point where spotlight will stop working. After restart, I magically get 50GB of disk space back, I'm not sure what is wrong with it and I never took the time to investigate, but I guess it's caches and temp files of all kinds. I also HATE the invention of "open all apps and windows back so everything is the same as before restart", no matter if I choose no in the special dialog, it freaking opens the apps and windows which were open prior to restart, which is FRUSTRATING, I have to kill them all as soon as they pop up, pressing CMD+Q repeatedly for a solid minute after EVERY restart – I like my system clean and pristine after I shut it down and up again, but somehow they made it problematic.
by zelphirkalt
4 subcomments
- I don't feel like keeping my tower pc running more than necessary. When I don't use it for hours, I usually turn it off. At least when I go to bed I turn it off. Next day I turn it on again. Like a normal person. I don't see a need to save 1 minute or so, by keeping it running.
- This is actually useful for smartphones. Sometimes smartphone malware is capable of infecting a device but not persisting, so reboots clean it back up.
At least if you trust the NSA's advice: https://s3.documentcloud.org/documents/21018353/nsa-mobile-d...
- I've been keeping my desktop machines running 24/7 for ~25 years. I only reboot when necessary.
I remember having around 280 days of uptime on Windows 7 when it went end of life. Having a UPS helps a lot to protect against short power outages or blips.
Nowadays I run Arch Linux, it's been 12 days since a reboot. Not trying to break records, I reboot to apply kernel updates when it's convenient. Since I use tmux and have terminal heavy workflows it takes 1 command and a few seconds to resurrect all of my sessions to get back to where I was at before.
by livingsoft
2 subcomments
- I'm with the UNIX old timers on this one; cleanliness is overrated. Life is messy, creation is messy. More uptime means more mess. Uptime is longevity; there are few things more valuable in life than longevity.
by gonzalohm
12 subcomments
- I don't have any data to prove it but I think Mac users don't bother "cleaning up" after they are done with their computers.
I think windows and Linux users usually shut down their laptops when they are done.
I believe this is because of how Mac is designed, nothing really closes. You close an app and it's just "minimized". Same behavior as with the lid, you close the lid and it suspends.
If I recall correctly, at some point, this also affected the iPhone, you were not able to "fully close" apps and they decided to add a screen so you could swipe and "close" the app (some run in the background, same as android)
by snailmailman
4 subcomments
- I shut down my desktop every night. No reason to keep it on. I can save my work, all my tabs persist, it’s fine.
My main complaint is that my PC seems to have crazy clock drift? And windows just doesn’t seem to care?
It doesn’t actually cause problems but I will check and see that it’s off by >5 seconds and that just shouldn’t ever happen. My phone is always accurate to <0.05s and same in Linux. Idk why windows isn’t.
- I reboot one of my machines all the time. It's a Mac Mini running 'Little Snitch', which informs me about all of the network connects my apps make, especially browsers. One cool feature of that program is that one can temporarily grant access to a connection, for instance until the request quits, or one logs out, or one restarts a machine. I'm slowly developing permanent allow / ban lists, but I also use this feature to temporarily utilize some website, aand then reboot to avoid cross-contamination.
The downside is that I often get shunted off into additional authentication workflows, since the prolonged delay caused by my manual approvals triggers some alerts. One of the entertainment ticket buying services is really convinced I'm committing some kind of fraud.
So, in general, I reboot everytime I start using that machine, at least once per day, sometimes more frequently.
Fun fact: in a former life, I worked for a retailer with 1000s of remotely deployed machines and no field-based tech support. One of the OSes we used back in the day had a bug that caused their license authorization service to fail after a certain amount of uptime. We had hundreds of machines that reached that uptime, all on the same day. Suffice it to say, that was not fun.
- I boot my computer every time I will use it and shut it down when I am done. No matter whether on Linux, Windows, or Mac. It's a mindset thing: I will sit at the computer, do what I have to do and then shut it down. Just sharing my way of using it.
by laserDinosaur
2 subcomments
- I remember a big debate "back in the day" about the effects of shutting down your PC at night and the effect on the health of the CPU. The theory at the time was that by shutting down your PC every night, the temperature fluctuations would put more stress on the CPU, shorting its life span. However, the other side said that leaving on your PC all day and night would spend more time running and reduce its life span, so only having it running when you needed it was better. I think a website did a test and found it makes no difference, but I remember it being a big topic around the 2000's (it might have been related to AMD chips at the time running extremely hot)
by coldblues
2 subcomments
- Anyone who is using full disk encryption will be turning off their computer when they're not around. Hibernation is an option if you want to keep your state.
by h4kunamata
2 subcomments
- My Lenovo Legion gaming laptop running Linux Mint Cinnamon takes ~10s to boot. I hardly ever leave it on, I mean why??
It is silly to use a cron job to do something that only takes 2s for a human to do.
My homelab Debian Netinst servers tho, run non-stop for months or even years without reboot.
Half century ago Linux had a bug where servers had to be rebooted after X hours, that is no longer an issue. Windows however requires a reboot because its pagination memory gets full and the longer you run it, the more the performance goes to shit.
by SirMaster
4 subcomments
- Is it weird that we don't have a way to update the system without rebooting by this day and age?
I think there are things in Linux like live kernel patching (kexec, ksplice), but why by 2026 is this sort of architecture of live system updates not a common or included feature yet?
People hate updates and having to reboot and have downtime right? Security updates to core systems are more important than ever now too. So why hasn't this problem been tackled I wonder?
Wouldn't it be great if our systems could update without us having to reboot and interrupt our workloads?
by Stealthisbook
1 subcomments
- Sadly, my computer has apparently rebooted multiple times this week. I didn't do it, but Microsoft decided it was for the best. I remember when a restart was something you were asked to consent to, and before that you had to affirmatively decide to perform an update.
- A couple of years ago I noticed that my mac starts collecting weird little bugs if I don’t reboot for a really long time. The cursor starts misbehaving (it won’t reliably change over links, or in graphic editors), switching between apps might take a few seconds, and once I had my keyboard input latency increased by ~500-700ms for every keystroke. These issues go away on reboot. I’m trying rebooting once a week or so now.
- I only shutdown when absolutely necessary, i.e. the system becomes unstable and crashes. Otherwise all of my machines have 100% uptime. This is for a few reasons:
1. Some tools take time to get setup in the way that they were originally setup. I mentally want everything to remain where I left it. I'm usually working on 5+ projects at a time, it's already enough mental tax to have to context switch, let alone to have to go find all the resources I need to be productive again.
2. I'm forced to use Ubuntu, and it is constantly updating stuff and making it crash. Every time I reboot it's a gamble as to whether something I previously used works again properly. Maybe 1 in 100 boots, the entire system doesn't come back properly.
by Bo0kerDeWitt
0 subcomment
- My employer frequently reminds us to shut down when we're done for the day. Otherwise a thief will have a laptop with the BitLocker already bypassed.
by Night_Thastus
1 subcomments
- I shut my desktop down every night and bring it back up in the morning. It only takes all of 2 seconds these days with NVME drives, even with Fast Boot disabled.
It's kind of a power hog and generates a lot of heat, so I try not to run it if I won't be around.
Shut down != reboot, but you get the idea.
- With servers, if they have a huge uptime and sysadmins etc are afraid to restart them, then they have "pets" with high liability, requiring Infra as Code https://docs.sadservers.com/blog/destroy-and-deploy-the-joys...
- One of our customers has a daily automated restart for their servers. This is because the IT people have long lost track of what the system actually does, and feel they have no time to figure it out.
It is the bane of my existence when it comes to the predictability of uptime, not to mention long-term processes getting interrupted over the day boundary.
- I used to leave my computer running 24/7, but then I got another computer to make a server, and it really improved my routine to have a "Shutdown and I'm done with computers for today"
- I have a recurring daily task of closing all browser tabs and a weekly task of rebooting my Mac.
Tracking this as a task helps my digital hygiene, and at the same prevents me from doing it more often than needed.
- > Maybe I’m a bit weird, but I like seeing all these warnings: “You have unsaved work! Are you sure?”
One of the reasons I don't like to reboot: Windows taking a few seconds to show the warning, so I have to either babysit the computer until it shuts down or come back the next day with an unrebooted computer.
Now I just use shutdown /f to force shutdown/reboot and forget about it.
by 0xEnsp1re
1 subcomments
- Ever since I got my MacBook, I've only restarted it about twice a month. With Windows, I used to restart my pc/laptop almost every time I finished using it.
- At the end of every workday I shut all the windows and shut down my laptop. Unless I'm in a rush. It's soothing!
- So what’s the actual benefit to rebooting according to this article?
by SyzygyRhythm
2 subcomments
- No. And in fact it annoys me greatly that our work IT department forces a reboot once a month.
My desktop is like an actual desktop. I have my tools laid out exactly how I want them for the task I'm working on. I want to come back to them in exactly the same place when I pause for the night or weekend.
I have to clean it up occasionally, to close out things that I'm no longer working on or forgot about. But I'd rather do that incrementally than all at once. Forcing a reboot is like tipping over a physical workbench with a bunch of tools and in-progress projects on it. Just awful, and often takes hours to set back to its original position (at least browser tabs restore reliably these days).
- My work machine (windows) has an uptime of 18 days. But I hibernate it daily. Hibernate in windows os is wonderful thing. Sadly Apple doesn't have something similar.
My apple machine (Mac Studio) shuts down everyday. Since it doesn't have hibernation feature.
- No, restarting is an occasional unfortunate workaround for subsystems that don't properly update in place (e.g. OS kernel).
- All my windows computers are shutdown when not needed.
My Debian 13 mini 'server' is on 24/7, conserves energy as much as possible (like CPU C8 state), but reboots nightly when required by patches and updates.
My NAS only really on when absolutely necessary, but can be activated using wake-on-lan.
So yes, i restart things quite frequently :)
by steveBK123
1 subcomments
- Anecdotally was discussing with friend circle recently how our Macs have "you must restart now" updates far more often than 1/2/5 years ago.
Not sure how much is that quality of dev went down vs quantity of threats went up.
by MathMonkeyMan
0 subcomment
- I shut my computers all the way down when I'm done with them. I like a clean slate when I return.
by supertroop
0 subcomment
- I’ve been on macOS since 2012 and only have to restart during Os updates. What is this person on about? Slow news day? Clickbait? I was clearly baited.
- No I power it off first and then I start it up again
by realty_geek
1 subcomments
- From the post I learnt about:
https://github.com/tw93/mole. (Clean, uninstall, analyze, optimize, and monitor your Mac from the terminal.)
How have I not heard of this before?
by ChrisMarshallNY
0 subcomment
- Yes.
And I'll likely do it again.
Not always by choice. I can crash the system by playing a certain game (they still treat the Apple platform like crap).
I can also put it into limbo, with Xcode, one of the most bountiful bug farms on Earth.
- I shut down every night and power on every morning. The servers with ECC are an exception, I usually keep those on a typical 1 month cycle for all the updates to apply. It's so damn fast these days I active the "Start Day" home automation scene while rolling out of bed and by the time I've reached the computer it's already sitting at the desktop.
- I restarted my Mac the other day and my free disk space went from 4GB to 40GB. Things are also noticeably zippier soon after a restart. Annoyingly, I can't reboot often because I'd lose all my incognito tabs. It's possible that quitting all applications would have the same effect (except the swap space, which seems not to fully release until reboot), but it's just as much hassle to do that as to fully restart the machine.
by assimpleaspossi
1 subcomments
- FreeBSD is my daily driver and I only reboot for major upgrades (which is required). I never power off cause I work on it, off and on, throughout the day and night (for my own company).
- To be honest, I just find it annoying I have to 2FA sign into JIRA and everything else if I restart, so I don't.
- Desktop for gaming and Macbook get shut down when I'm not using them, the Mac Minis stay on.
by kevinrineer
1 subcomments
- I too like running the same kernel for months on end. Just kidding, I restart periodically, especially when there's a kernel patch.
To those who worship uptime, how many kmods do you have loaded? Must be nice not subscribing to openwall/NVD/CISA/cve.org
by dominicrose
0 subcomment
- Does turning a laptop off to carry it and starting it on afterwards count? It's a poor reason to turn off a computer but hey it's a reason.
- I have restarted my main PC twice for this year. Because when the RAM is over and OOM starts to kill anything then the system might become unpredictable.
by zaptheimpaler
0 subcomment
- Windows is leading the pack here as usual. They've introduced a new "all your RAM are belong to us" feature where all 48GB of my RAM slowly drips into a black hole over time, ne'er to be released again until reboot.
- Nope.
frankenpad25 vermaden ~ % uname -prism
FreeBSD 14.4-RELEASE-p6 amd64 amd64 GENERIC
frankenpad25 vermaden ~ % uptime --libxo=json | jless | jq
{
"uptime-information": {
"time-of-day": "12:50PM",
"uptime": 790654,
"days": 9,
"hours": 3,
"minutes": 37,
"seconds": 34,
"uptime-human": "9 days, 3:38",
"users": 15,
"load-average-1": 2.72,
"load-average-5": 2.54,
"load-average-15": 2.00
}
}
- Surely it must make a difference if you have a standard hard drive or a solid state drive.
Whats the percentage of solid state drives out there?
by Cool_Caribou
0 subcomment
- I've been forced to restart my computer when it crashed 3 months ago, otherwise, no, never, complete waste of time.
- Have you ever lost a laptop, through theft or coffee spill or mainboard failure or just accidentally wiping something?
I have three machines now: two laptops that syncthing to a mini pc that sends snapshots offsite. Losing access to one laptop is no longer a day-ending, world-stopping event!
As such, the safest ground state for any machine is to be sync’d then powered off. I do it after every “session”: before lunch, at the end of the day, and often in between if I’m at home and just using the machine for 45 minutes to e.g. buy a mattress before going back to the garden.
Similarly, with my work machine, I push everything to the central repository at the end of every day and delete all my local branches. They are more prudent with spending so I don’t have a hot-spare second machine like I do at home. The next best thing is to be prepped for catastrophic data loss at all times.
I often think about why I only have one phone. Losing that would suck but it’s harder because it’s iOS and I’m less knowledgable about how to automate it as a cattle phone, not a pet phone.
by frantzmiccoli
0 subcomment
- I delayed upgraded to Tahoe, now I need to restart about every week or so, or I will get random lag and freezes.
I also need to restart my iPhone or my airpods will refuse to connect.
I preferred the days where I would restart after 6 months, just because it felt right.
- When you use disk encryption for security reasons it seems to me you need to turn off your computer after your done.
by thisisnotwifi
0 subcomment
- Had to restart because of https://www.reddit.com/r/apple/comments/1sghrd2/we_found_a_t...
- Corporate windows laptop; need to restart every 2-3 days at best.
by Jeremy1026
0 subcomment
- Just got back from vacation, so actually yes. But my uptimes usually hit about 150 days before I get around to running OS updates forcing a restart.
- (env-godsart) kernel_2026 git:(main) uptime
0:44 up 445 days, 10:50, 18 users, load averages: 5.03 4.35 3.73
by mikhailfranco
0 subcomment
- Windows 11 seems to feign forgetting your PIN password to force a restart.
- aren't there other old-school people like me that shut down everything at end of day and restart the next?
can't be hacked if it's completely off
can't get struck by lightning or surges if the surge-strip is flipped off
fans and spinning drives have lifetime on motors
by bluebarbet
0 subcomment
- Only when the OS security update requires it. Maybe once every couple of weeks on Ubuntu.
by chimpanzee2
0 subcomment
- thats the ideal tbh. no persistent state, except in your mind and soul.
everything else is transient. meditate on this.
- My Mac and Linux machine get a reboot every now and then. On the other hand, my work Windows machine, welp…
- I helped manage 1500 desktops and thousands of VMs over twelve years in a call center and I preached rebooting at the end of the day/shift. There is no doubt that this reduced ticket volume compared to other sites. This included individual and shared desktops.
by himata4113
0 subcomment
- 23:58:27 up 716 days, 16:44, 1 user, load average: 9.06, 6.93, 6.40
I guess not. However, this is sort of dishonest since I do sometimes do execute kill -1 or reload individual kernel modules.
- There are enough crappy win32 applications that you probably should restart Windows PCs nightly.
by mhalikosen
0 subcomment
- I restart my Mac every morning.
by mrhottakes
0 subcomment
- Yes, a few times. Thank you for asking, I hope you restart your computer some as well. :)
by petecooper
0 subcomment
- I have a terrible work / non-work balance, and one trivial habit I've established is turning off my (Mac mini & MacBook Air) computers & screens when my work time is done.
I don't want it to be trivially easy for me to just do one more thing…there be dragons.
My Saturday mornings are more often markers for running Onyx[1] for maintenance.
[1] https://www.titanium-software.fr/en/onyx.html
- Yeah, several times. Thanks windows.
- Every single day.
- 0:43 up 204 days
I need to reboot
by felix-the-cat
0 subcomment
- I have a Lenovo Legion and a Macbook Pro - I've had to restart the mac a couple of times due to VPN issues with work, but the Lenovo has probably been running for a few months.
by Brendinooo
0 subcomment
- uptime: `up 35 days`
it feels bad in some sense but I don't like my environment being interrupted!
- I use NixOS and haven't restarted my machines in years. Always on. There are power outages once in a while but everything is set to restart when power is available so it comes back up.
- Sometimes I shut down my computer at the end of the day to symbolically end my week.
That being said, I hibernate at the end of my day. For some reason, merely closing my Dell laptop just isn't as smooth on reopen as my Mac. The startup is almost as long as a full reboot.
- 1 - near my bed, have to stop it to sleep
2 - updating the kernel and drivers "often", have to restart it.
by bethekidyouwant
0 subcomment
uptime
13:37:37 up 257 days 21:20, 1 user, load average: 5.19, 5.04, 5.63
I had over a year last time :(
- I shutdown / reboot ... this is blogpost and HN worthy?
- I'm running QubesOS, my various qubes reboot about a dozen times a day.
- I'm used to turning off my laptop at the end of the day. I can hibernate it if I'm working on something and I don't want to close the applications, but if I'm done, what's the point? Same for using standby. I would save some seconds at boot, but my laptop's boot time is fast anyway.
- 08:15:42 up 14 days, 14:27
Thats actually a long time for me... I'm using Fedora and they ship a lot of updates fairly frequently... and I tend to get twitchy about updates...
- Yes, but only because of a MacOS update.
My UnRAID server has been up for more than a month, and would be much longer were it not for a system update there, too. The uptime of the VMs on the server are also affected by this.
- Rebooting desktops or laptops is ok, rebooting your servers is an anxiety induced task, rebooting your archos linux, well, be prepared to spend an hour troubleshooting afterwards.
- Yeah on windows yesterday to fix a broken outlook. Some things never change
- notice that for some hw parts restart ≠ shutdown & reboot.
if you really want to start fresh, shut your machine down once a week.
by porridgeraisin
0 subcomment
- Every couple of months typically I do an arch linux update and reboot. But that is about it.
I do hibernate sometimes though, and that is pretty much the same final state power-wise as doing a shutdown (more so for my laptop as it does not keep keyboard/mouse powered in S4 and its the same with the hall effect sensor for the lid).
- macOS Sonoma is so unstable (on x64 anyway), just leaving it running without doing anything will mess it up eventually, so restarts force themselves in a way. My Linux laptop at least has system updates as the reason for restarts.
- yes, I always do.
But today I had to power it off, I accidentally created a fork bomb changing a couple of scripts on OpenBSD.
It did not freeze the system but I could not create any more processes. shutdown(8) could not even run, so a hard power off :)
- ‘“Microsoft Edge is preve…” Bam! Force quit! Kill kill kill!’
Wait, what? Why is OP using Edge on a Mac? To each their own, it just caught me as odd.
And, as Betteridge’s Corollary or whatever demands, the answer to the headline is “no”. Is this like ancient wisdom about batteries, you’ve got to run them to zero once in a while or they’ll get a “memory”? (Which, of course, hasn’t been true for, like, twenty years.)
by TacticalCoder
0 subcomment
- Nope. When I want to know when was the last time I came back from vacation, I type this at the CLI:
uptime
I turn off my desktop when I go on vacation for more than a few days. If I just leave for the week-end I don't turn it off.Very rarely there's a published kernel fix leading to an exploit that could potentially affect my setup that requires rebooting, but that is exceedingly rare.
FWIW my desktop regularly reaches six months of uptime and I had a server at OVH which I kept just because I could that reached something silly like 3400 days of uptime (it just didn't reach 10 years). At some point (after maybe three years) the uptime was so cool I decided to just keep it and see how long it'd stay up (and, no, that one wasn't secure at all: kids, don't try this at home). When the fire at OVH took entire bays off, I wasn't affected so the thing kept cranking.
If we leave security concerns aside, OSes are really that stable now (unless we're talking about Microsoft products of course).
> Have You Restarted Your Computer This Week?
Now of course I've got something like 12 computers at home so it really depends which computer you're talking about. For example I've got a server with ECC memory that runs VMs and containers but... I only need it when I'm awake. So that one I typically turn off at night (for the energy consumption). I know, I know: desktop up and server down at night I must be doing something wrong right? But then it's my setup and I do what I want.
- I turn off my work Mac on the weekends because I cannot for the life of me figure out how to make it shut the fuck up. If I close the lid I still hear email, calendar and slack notifications. If I explicitly put it to sleep I still hear notifications. The only way I can walk away from that cursed computer knowing I won't hear it nag me from the next room is to shut it down.
- Once I began the “start from zero” routine at work, I could
not stop. It meant I had to know what to do to get back to my ideal dev env every morning. It meant I had the choice to automate that, or to leave some
bits (or all bits) manual. It surprised me how much I preferred manual, and taught me to recognize when things were actually tedious vs premature shortcuts. Clarity trumps convenience, but, you know, not always.
- [flagged]
- [dead]
- [dead]
- [flagged]
by Jeff9James
0 subcomment
- I WON'T Restart my computer. Why?
I got this android app called twent.xyz and im addicted to it. I can do almost everything about laptop was meant to do, but on my phone. Linux Terminal, Agent CLIs, UI automation, Bots, subagents, GIT, Filesystem, etc.
Its like a Super AGENTIC android app. Oh, and great things dont come at a cost. Its free. twent.xyz