Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 task simultanously by 1 or 2 resources #5

Open
jacekkolasa opened this issue Aug 26, 2014 · 0 comments
Open

1 task simultanously by 1 or 2 resources #5

jacekkolasa opened this issue Aug 26, 2014 · 0 comments

Comments

@jacekkolasa
Copy link

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:

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)

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant