android-components / mozilla.components.service.fretboard.scheduler.jobscheduler / JobSchedulerSyncScheduler / schedule

# schedule

`fun schedule(jobInfo: JobInfo): Unit` (source)

Schedule sync with the constrains specified

### Parameters

`jobInfo` - object with the job constraints

`fun schedule(jobId: Int, serviceName: ComponentName): Unit` (source)

Schedule sync with the default constraints (once a day)

### Parameters

`jobId` - unique identifier of the job

`serviceName` - object with the service to run