newby -using time with a python script
Posted: Sun Mar 04, 2018 12:31 pm
Hi everyone
New here using python. I have a PI hooked up to a RGB led matrix, and an Adafruit RGB Matrix HAT that has the clock built in.
I am running a couple of text scripts manually by just typing the sudo ./runtext.py or runtext1.py or runtext2.py etc. that runs a different text and I run the script at certain times in the day. This is because I use the display as a sign IE: Open, closed etc.
Is there a simple python script I could insert that would run script 1 say at 8am until 6:30 then run script 2 for 2 hrs then back to script 1 or another script or off etc using my HAT clock?
Any help would be appreciated and thank you in advance.
New here using python. I have a PI hooked up to a RGB led matrix, and an Adafruit RGB Matrix HAT that has the clock built in.
I am running a couple of text scripts manually by just typing the sudo ./runtext.py or runtext1.py or runtext2.py etc. that runs a different text and I run the script at certain times in the day. This is because I use the display as a sign IE: Open, closed etc.
Is there a simple python script I could insert that would run script 1 say at 8am until 6:30 then run script 2 for 2 hrs then back to script 1 or another script or off etc using my HAT clock?
Any help would be appreciated and thank you in advance.