We have a Custom Scheduled Job in Episerver 7.5 CMS under Scheduled Jobs, When the job is on, it runs the functionality what we require and job is off it doesnt process any thing.
Now the Requirement is, when the custom job is off in CMS. Can we capture the scheduled job is off or on from CMS Tables anywhere. if so, how do we call CMS tables in c#.
You can use the ScheduledJobRepository to get some information about the jobs.
var jobRepository = ServiceLocator.Current.GetInstance<ScheduledJobRepository>();
var isEnabled = jobRepository.List()
.First(job => job.Name.Contains("Notification"))
Above I list all jobs and grabs the first that contains the name Notification. You should be able to find yours there as well and check status.
Hope that helps!
There is a plug in that enables you to see the status of scheduled jobs:
+1 for David, if you are looking for table on db. Look in db with name like tblSchedule (although it is not recommended ) :)