Atri Sharma <atri.j...@gmail.com> writes:
> We can use a scheduling algorithm, and can define a pool of tasks as well as
> a time constraint for the amount of time which can be used for running the
> tasks.Then, a scheduling algorithm can pick tasks from the pool based on
> priorities and the time duration of a task.I can see a dynamic programming
> solution to this problem.

I think mcron already implements it all and is made to be embedded into
a larger program.

  http://www.gnu.org/software/mcron/

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to