Hello,
I've got a new challenge that requires some help!
Here's the idea: I would like to let some users to define when they want their jobs to run.
Unfortunately, for security purpose, those users do not have access to VisualCron (and i dont want to give access).
Up to now, I was deciding when the different jobs need to run, but I would propose something more flexible.
So, I was thinking to setup the schedule in an Oracle table (with the name of the job to run and a time for refreshing, for example, every day at 8 a.m)
In visual cron, I've done a SQS Job to query this Oracle table every 10 minutes. So, I am able to find the list of job to run at a specific time. To avoid to run twice the same job, I plan to record the last time the job has been run.
Here's my problem: even if I've got a list of job to run, I don't know how to continue. The goal is, if I find 2 jobs qith my query, to launch 2 distinct processes (one per job) because I don't want to wait the first job to complete before launching the second one.
Do you have any idea on how to do that?
Thanks in advance for the help you may provide!