Exemplo n.º 1
0
        void IServiceEvents.OnStart(string[] args)
        {
            // Construct a scheduler factory
            ISchedulerFactory schedulerFactory = new StdSchedulerFactory();

            // Get and Start a scheduler
            scheduler = schedulerFactory.GetScheduler();
            scheduler.Start();
            scheduler.SpawnBillingJobs();
            scheduler.SpawnBackupJobs();

            LogHelper.Info("TeamMashup services started");
        }