thany Posted October 12, 2023 Share Posted October 12, 2023 (edited) Sorry, I know this has been asked before, but in my defence, it was asked many years ago. By having said that, I do know this can be done through userscript. But I don't prefer installing userscripts, because they feel like going outside the scope of the system you're applying them to. Kind of like applying user script/styles to a website - it may break at any future update. So here's hoping Unraid now supports this option natively. I just want to add a schedule where I set up on which time of which days the disks are required to be spun up. The flip side could be to just never spin them down. And sure, some drives are designed to do that, but I'm not sure that mine are. Sure they are enterprisey-like drives, but that doesn't mean they are designed for 24/7 spinning, and even then, that still doesn't mean spin cycles are actually bad. And besides, I like to save power where I reasonably can, because I kind of like this planet 😊 Anyway, I digress. If this feature exists, where is it please? If it doesn't exist, pretty please to add it? 🙏🏻 Edited October 12, 2023 by thany Quote Link to comment
itimpi Posted October 12, 2023 Share Posted October 12, 2023 There is no built-in capability to schedule spin ups. Quote Link to comment
thany Posted October 27, 2023 Author Share Posted October 27, 2023 Okay, like I said, can this be added? Quote Link to comment
dboonthego Posted October 27, 2023 Share Posted October 27, 2023 2 hours ago, thany said: Okay, like I said, can this be added? Unlikely to ever be baked into OS. To do it on your own would require exporting existing crontab, editing that to include you new spinup job, editing the GO script to import the edited crontab at boot, and of course a script to manage the actual spinups. Honestly, user scripts is easier. Quote Link to comment
thany Posted December 21, 2023 Author Share Posted December 21, 2023 (edited) That feels like something that I would have to put in somewhere deep into the OS somehow, which then does its job. But if I ever need to touch it for whatever reason, I'm going to have the greatest difficulty finding where it got buried again. So basically the answer is "no it's impossible, unless you like to hack it in" which means if it ever stops working (or starts working too well), I'm on my own. I would rather stick with supported features, which is why it would be nice to be able to use the "scheduler" for more than just the mover, and have the option to make it do a selection of action at certain intervals. Basically, make the scheduler more configurable and do more stuff. Then it's also (more) visible just in the web UI, so it's not buried somewhere in some script or config file that I won't know about anymore after a week. It's okay though. And thanks for the reply, but no thanks Edited December 21, 2023 by thany Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.