January 3, 201610 yr Hi, How would I spinup all drives from cron? From another computer this http://lime-technology.com/forum/index.php?topic=42661.msg406849#msg406849 works : http://tower/update.htm?cmdSpinupAll=true But how would I use this in cron? Do I need wget, or is there another syntax (using mdcmd ??)? Thanks!
January 4, 201610 yr Author For those people who also need this. This seems to work: wget -q http://localhost/update.htm?cmdSpinupAll=true
March 5, 20179 yr This doesn't seem to work for me anymore, and I suspect it's related to the CSRF work. Has anyone found a recent way to spin up all drives from a URL or can anyone confirm that this old way is still working for them?
March 18, 20179 yr Because the csrf token changes with every boot, you're basically not going to be able to do it via hitting a URL on another computer. You could create a script that would be something like #!/bin/bash mdcmd spinup 0 mdcmd spinup 1 mdcmd spinup 2 ... And then create an appropriate putty shortcut that would log in and run the command (or schedule it via a cron job etc) Curious though as to why you want all the drives spun up at certain times...
Archived
This topic is now archived and is closed to further replies.