bunkat / schedule

Automatically schedules tasks, work items, meetings, reservations, etc. Schedule takes into account working hours, holidays/days off, people's work schedule/vacation time, as well as task dependencies.
http://bunkat.github.io/schedule/
MIT License
429 stars 87 forks source link

1 task simultanously by 1 or 2 resources #5

Open jacekkolasa opened 10 years ago

jacekkolasa commented 10 years ago

Is it possible to schedule 2 resources to 1 task, when they are available, but when only 1 resource is available, it can also work on the same task? Like now I only see 2 options:

1) schedule.tasks().resources( [ [ 'res1', 'res2' ] ] ) in this setup 'res2' will work on this task only when 'res1' will not be available (I want them to work together)

2) schedule.tasks().resources( [ 'res1', 'res2' ] ) in this setup they will start work only when both will be available. I want them to start work even if the second resource is unavailable.