London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
You can use the ScheduledJobRepository to get some information about the jobs.
using EPiServer.DataAbstraction; ....
var jobRepository = ServiceLocator.Current.GetInstance<ScheduledJobRepository>(); var isEnabled = jobRepository.List() .First(job => job.Name.Contains("Notification")) .IsEnabled;
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!
Hi Arjun
There is a plug in that enables you to see the status of scheduled jobs:
http://blog.tech-fellow.net/2013/10/17/overview-your-episerver-scheduled-jobs-interactively/
David
Hi Guys,
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#.