Changeset 472dd7e for Farmatiko


Ignore:
Timestamp:
02/14/21 23:34:17 (4 years ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Parents:
f554983
Message:

Fix cron job bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Startup.cs

    rf554983 r472dd7e  
    122122            });*/
    123123
     124            services.AddScoped<UpdateDataJob>();
    124125            services.AddSingleton<IJobFactory, SingletonUpdateDataJobFactory>();
    125126            services.AddSingleton<ISchedulerFactory, StdSchedulerFactory>();
    126127
    127             services.AddTransient<UpdateDataJob>();
    128128            services.AddSingleton(new JobSchedule(
    129129            jobType: typeof(UpdateDataJob),
Note: See TracChangeset for help on using the changeset viewer.