Cool stuff for Raspberry Pi, Arduino and all electronics hobby projects
Notifications
Clear all

Witty Pi 4 L3V7 - interupting the scehduler

2 Posts
2 Users
0 Likes
8 Views
(@andrew-simpson17)
Posts: 78
Estimable Member Customer
Topic starter
 

HI,

 

I was thinking of using your scheduler.  But, I am concerned that my customer will make a mistake with it and then cannot do anythign about it until the scheduler 'kicks' in to affect further changes.  Is there a GPIO I can pull down to 'awake' the Rpi and bypass ths scehduler at all?

 
Posted : 14/11/2024 4:33 pm
(@admin)
Posts: 477
Member Admin
 

There is no built-in funtionality that does what you mentioned, however you can always implemt it by yourself. The software is written in BASH, and modification on it should be rather simple.

Maybe a better way is to write your own script/program, which monitors a GPIO and renames the "schedule.wpi" file if that GPIO is pulled down. You can put the full path of your script/program in this beforeScript.sh file, so it gets executed on boot before running the schedule script. Renaming the "schedule.wpi" file will effectly disable the schedule script.

 
Posted : 14/11/2024 4:54 pm
Join Waitlist We will inform you when the product arrives in stock. Please leave your valid email address below.