14
Please notice the input format should be “DD HH:MM:SS”, DD means the day in the month, HH is
the hour, MM is the minute and SS is the second. All these should be 2 digits and 24-hour system is
used. Different than the shutdown scheduling, you can specify the second here.
You can also use “??” as wildcard, which gives you the possibility to make a repeatable schedule.
Please see the table below:
Repeatable Startup Schedule
According to the hardware limitation, not all patterns with wildcards are supported. The rule is:
wildcards have to show up from let to right, and there is no number between two wildcards. So “??
??:??:12” is OK, while “?? 15:??:25” is not supported.
If you input an unsupported pattern, Witty Pi 3 will try to change it to the closest one that could be
supported. You will see the message on the console.
Here are some examples of scheduling the startup:
15 07:30:00 means 7:30 in the morning, on 15
th
in this month.
?? 23:30:00 means 23:30:00 at night everyday (daily schedule)
?? ??:15:00 means the 15
th
minute every hour (hourly schedule)
?? ??:??:05 means the 5
th
second every minute (minutely schedule)
6. Choose Schedule Script
What if you want to define a complex ON/OFF sequence for your Raspberry Pi? The answer is
“schedule script”.
A schedule script (.wpi file) defines a loop, with all states and their durations inside. By
automatically running “runScript.sh” after booting, Witty Pi 3 will automatically schedule the next
shutdown and next startup for you, and hence a complex ON/OFF sequence could be achieved.