Run a program(python code) in Omega 2+ when it's power on
-
I was wondering if it's posible run a code(python code) automatically on boot the Omega Module. In other words, that when I power on my Omega module, this runs a program as default realized in python, the file is in directory named root .
-
Most certainly, The onion runs openwrt which is a linux system.
lookup "cron/crontab" or "init.d" either of these will allow you to achieve your goal.
-
@Victor-Lucio take a look at this thread from the other day,
https://community.onion.io/topic/4054/etc-rc-local-doesn-t-work-o-omega2/4