Independent task optimal scheduling