I am trying to create a stand alone program on the raspberry pi that will run functions at specific times. I have done some research and everything seems to point to using crontab. I would ideally not like to use crontab because I want to be able to share the program later on and asking users to edit their crontab seems a bit invasive.
The program would consist of running scheduled tasks (run at a specific time each day), constant tasks (loops collecting data and displaying on an LCD every 3 seconds), and also tasks at intervals (running certain functions every 15 minutes).
My question is, what would be the most effective way of achieving this? My initial thought is to create a function that looks at the theTime tuples and if statements to determine what to run, but even as a novice, that sounds very clunky. The 'schedule' package seems promising, but I'm unsure of how to integrate scheduled tasks in the background of constantly running loops. Has anyone had any experience with making a program like this and maybe have some examples of code that has worked for them?