I have to create a sheduler to run the shell scripts one by one(dependency).
Suppose i have 10 scripts.
For all the 10 scripts i have a database table containing these scripts_names and status.
Executing the first script.if the first status script is only 'success' then go to next script.
if status of script 'Failed' then wait for to complete the first script.
If user updates the status 'WAIT' in Table then run the first script again like loop.