ReleaseEngineering/How To/Resolution issues r4

From MozillaWiki
Jump to: navigation, search

If a rev4 machine doesn't have the correct resolution, you need to reboot it a special way.


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
for i in $(grep "talos-r4" last-job-per-slave.txt | grep "days," | cut -f1 -d " " | sed -e "s/$/" | xargs) ; do date=`date -v+4M "+%m/%d/%y %H:%M:%S"` ; ssh root@$i -o ConnectTimeout=2 "pmset schedule wakeorpoweron \"$date\"" ; done