com.atlassian.sal.api.scheduling.PluginScheduler has been deprecated for a while now and we are suggested to instead go through
<dependency>
<groupId>com.atlassian.scheduler</groupId>
<artifactId>atlassian-scheduler-api</artifactId>
<version>${scheduler.api.version}</version>
</dependency>
But I wasn’t able to get hold of an instance of SchedulerService in Bamboo and had to revert to the old PluginScheduler to register a scheduled job.
com.atlassian.sal.bamboo.scheduler.BambooSchedulerServiceImpl seems to be a good candidate :
@Component
@ExportAsService(SchedulerService.class)
public class BambooSchedulerServiceImpl extends DelegatingSchedulerService implements SchedulerService, InitializingBean, DisposableBean