ReleaseEngineering/How To/Resolution issues r4: Difference between revisions
< ReleaseEngineering | How To
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
This schedules the machine to start in 4 minutes then turns it off. | This schedules the machine to start in 4 minutes then turns it off. | ||
John has used this: | |||
<pre> | |||
curl -LO http://build.mozilla.org/builds/last-job-per-slave.txt | |||
for i in $(grep "talos-r4" last-job-per-slave.txt | grep "days," | cut -f1 -d " " | sed -e "s/$/.build.mozilla.org/" | xargs) ; do date=`date -v+4M "+%m/%d/%y %H:%M:%S"` ; ssh root@$i -o ConnectTimeout=2 "pmset schedule wakeorpoweron \"$date\"" ; done | |||
</pre> | |||
Latest revision as of 02:27, 8 February 2012
If a rev4 machine doesn't have the correct resolution, you need to reboot it a special way.
Run:
pmset schedule wakeorpoweron "`date -v+4M "+%m/%d/%y %H:%M:%S"`" && shutdown -h now
This schedules the machine to start in 4 minutes then turns it off.
John has used this:
curl -LO http://build.mozilla.org/builds/last-job-per-slave.txt for i in $(grep "talos-r4" last-job-per-slave.txt | grep "days," | cut -f1 -d " " | sed -e "s/$/.build.mozilla.org/" | xargs) ; do date=`date -v+4M "+%m/%d/%y %H:%M:%S"` ; ssh root@$i -o ConnectTimeout=2 "pmset schedule wakeorpoweron \"$date\"" ; done