Mac | プログラマティックに電源入り切り
まんま答えがあった。ブックマーク的メモ
動作
sleep, wake, shutdown, wakeorpoweron
曜日
MTWRFSU
実際に入れたもの。 root で
45 2 * * * /path/to/script 46 2 * * * pmset repeat sleep MTWRFSU 02:59:00 wakeorpoweron MTWRFSU 08:44:00 45 8 * * * /path/to/script 46 8 * * * pmset repeat sleep MTWRFSU 08:59:00 wakeorpoweron MTWRFSU 18:44:00 45 18 * * * /path/to/script 46 18 * * * pmset repeat sleep MTWRFSU 18:59:00 wakeorpoweron MTWRFSU 02:44:00
おわり。