Skip to content

Commit

Permalink
Quartz scheduler Id
Browse files Browse the repository at this point in the history
  • Loading branch information
leewrigh committed Nov 4, 2024
1 parent b3d3a32 commit 55be389
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion backend/jumwebapi/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ public void ConfigureServices(IServiceCollection services)
services.AddQuartz(q =>
{
Log.Information("Starting ORDS Test scheduler..");
q.SchedulerId = "JUM-ORDS-TEST";
var schedulerId = $"DIAM-JUM-Scehduler-{Guid.NewGuid()}";
q.SchedulerId = schedulerId;
q.SchedulerName = "ORDS Test Scheduler";
q.UsePersistentStore(store =>
Expand Down
2 changes: 1 addition & 1 deletion backend/webapi/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public void ConfigureServices(IServiceCollection services)
{
Log.Information("Starting scheduler..");
var schedulerId = $"DIAM-Quartz-Scehduler-{Guid.NewGuid().ToString()}";
var schedulerId = $"DIAM-Quartz-Scehduler-{Guid.NewGuid()}";
q.SchedulerId = schedulerId;
q.SchedulerName = "DIAM Scheduler";
Expand Down

0 comments on commit 55be389

Please sign in to comment.