Scheduling working with Autofac