I have few independent projects written in Python that I would like to have executed daily. I'm going to use crontab on an Ubunutu server but I would like to write a script to manage these projects and at the end send a report with information on what scripts failed, what errors they produced, if they were successful, time to execute etc.
I have 2 ideas, please help me decide which one is better or provide me a better solution?
1: crontab will execute a bash file and this bash file will launch each script and calculate the time they took to run.
2: crontab will execute a python script which will execute all the others scripts and calculate the time they use to run etc.
Sorry english is not my main language.