I've a requirement to run some code on the scheduler app instance in DXC alongside our scheduled job, which creates and schedules jobs according to Azure Service Bus messages.
At the moment i'm trying to read the local machines 'hostname' and provide something in config that matches that hostname to let us know we are on the correct machine or not for starting our extra code. Problem i have is the hostname appears to be changing on each deploy, or at least isn't completely static
Is there a simple way to tell if scheduled jobs are enable in the current instance of EpiServer?