Hi @pipex,
Finally, I tried the Rahul-thakoor’s proposal and pick up the scheduler part of that.
I lost everything (all dockers container) for only unfunctional one : Main
after pushing it by Balena-CLI
I didn’t evaluate good enough what i was doing exactly. I don’t want to annoy you more. I have to study master classes and get better in Balena stuff:smiley: (specially dockers)
The good news is I started again to push my first App (Screenly OSE) with improvements I did and everything works!
It took 8 minutes.
Question… can I say it’s like “compiling” a project to my device? Is there a way to only send static *.html files without sending all directories and files to the device?
How can I add a container docker with cron task see above in here which manages only the cron tasks?
// scripts
*** start.sh ***
#!/bin/bash
if [ ! -z ${ENABLE_HDMI_SWITCH+x} ] && [ “$ENABLE_HDMI_SWITCH” -eq “1” ]
then
(crontab -l; echo “${HDMI_ON:-0 6 * * *} /usr/src/hdmi_on.sh”) | crontab -
(crontab -l; echo “${HDMI_STANDBY:-03 20 * * *} /usr/src/hdmi_standby.sh”) | crontab -
fi
crond -f
*** hdmi_on.sh ***
#!/bin/bash
echo ‘on 0.0.0.0’ | cec-client -s -d 1
*** hdmi_standby.sh ***
#!/bin/bash
echo ‘standby 0.0.0.0’ | cec-client -s -d 1
To get this kind of things :
Am I on the right way??
Thank you!!