EasyManua.ls Logo

UUGear Witty Pi 4 - Page 25

Default Icon
53 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
21
Sometimes you may want to skip certain scheduling of shutdown/startup, and let your own program
to do the job. This can be achieved by using the WAIT syntax. For example:
ON M15 WAIT
This will keep your Raspberry Pi ON and no shutdown will be scheduled after 15 minutes, because
there is a WAIT at the end of the line. The parameter M15 is here only to make sure the next OFF
state can be calculated correctly and next shutdown can be scheduled properly.
Once you use WAIT in the ON state, you (or your program) are responsible for the shutdown of your
Raspberry Pi. If you use WAIT in the OFF state, you will need to turn on your Raspberry Pi (manually
or via external electronic switch).
After installing the software, there are some schedule scripts in theschedules” directory, and they all
have comments inside to explain themselves. You can take them as example to learn how to create
the Witty Pi schedule script.

Table of Contents