I am looking for way to configure cron to run multiple cron jobs that are located in a specified directory.
These cron jobs are self-destructive after one successful execution. I can't seem to find anything pertaining to what I am trying to do. This is an example cron job:
MAILTO=""
* * * * * root activation_script.sh <name> <version>
These cron jobs essentially run a script that activates <name>
with a version. While I am able to run this script manually with the desired end result, there a multiple cron jobs that need to be automatically run, as these <name>
should be activated by default.
Can anyone help me out with this?