running scheduled tasks

Hi All,

We have a task, where user configures some schedules in frontend and based upon those schedules we have to run few tasks.

From frontend , we are currently storing the information in DB through an API.

Days Time slots
1,7,13,19 8-9,12-13

So, during 8-9 hours on days 1,7,13,19, we need to run the tasks.

Our task currently runs as a separate process.
Now, the question is : So how do we make to launch this process based upon time slots and days? What could be best solution?

If any body has come across a similar situation, let me know.


Thanks!
San


How do we start the task based upon the schedules?


Santhosh
You could write an app the extract time and other details from the DB and populates the appropriate host's crontab, and let cron schedule the tasks for you.
Last edited on
Topic archived. No new replies allowed.