Esempio n. 1
0
        public static void CreateTimerJob(SPSite site)
        {
            var timerJob = new PrzygotowanieWiadomosciTJ(site);
            timerJob.Schedule = new SPDailySchedule
            {
                BeginHour =17,
                BeginMinute = 30,
                EndHour = 17,
                EndMinute = 45,
            };

            timerJob.Update();
        }
Esempio n. 2
0
        public static void CreateTimerJob(SPSite site)
        {
            var timerJob = new PrzygotowanieWiadomosciTJ(site);

            timerJob.Schedule = new SPDailySchedule
            {
                BeginHour   = 17,
                BeginMinute = 30,
                EndHour     = 17,
                EndMinute   = 45,
            };

            timerJob.Update();
        }