How to power zeros on start up

39 views
Skip to first unread message

Sebastien

unread,
Jul 21, 2021, 10:22:14 AMJul 21
to ClusterHAT
Hello

Sorry if this question is stupid. It's my first time building a cluster at all. Is there a way to power up the raspberry pi zeros when I switch on the raspberry pi 4b that is my controller.

thank you
Sebastien

Chris Burton

unread,
Jul 21, 2021, 3:16:17 PMJul 21
to ClusterHAT
Hi, 
Sorry if this question is stupid. It's my first time building a cluster at all. Is there a way to power up the raspberry pi zeros when I switch on the raspberry pi 4b that is my controller.

You can use crontab to power them on at reboot with the below line.

@reboot (/usr/bin/sleep 4m;/usr/sbin/clusterctrl on)

Your clusterctrl script might be in /sbin/clusterctrl or /usr/sbin/clusterctrl currently - you can check by running "which clusterctrl" and then alter the line above if needed.

Chris. 
Reply all
Reply to author
Forward
0 new messages