SharePoint - Retrieve SharePoint Timer Job Schedule
A utility function that finds a timer job by name in the current web application and returns its schedule type.
string GetTimerJobStatus(string timerJobName)
{
string schedule = string.Empty;
SPSecurity.RunWithElevatedPrivileges(() =>
{