Lyakabynka
Lyakabynka
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
as nobody replied, I made it the easiest way I found out -> https://github.com/Lyakabynka/PlanIt/ if somebody is interested
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
as I pass in .AddOrUpdate
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
It would be perfect if I could pass my own id to the .Schedule method, but unfortunately
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
On the last screenshot I would delete executed active ScheduledJob from my database
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
I hope it helps
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
One sec
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
I dont get it (
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
Okay, lemme describe again. I want to use Guid as ID for my entire project. When user is scheduling notification on specific time, it is added to my OWN database ( ScheduledJob -> described in the post ). Once it is invoked, this ScheduledJob should be deleted from the database as it is no longer active ( executed ). That is why I need to pass a scheduled job id to the PlanTransmissionRequested object ( see post )
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
i meant
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
database-generated
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
but its impossible when dealing with ints
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
As it is described in the posted screenshoot, I need to pass ID of the scheduledplan to the PlanTransmissionRequested object
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
It is giving, but I need to pass it to the function before the output from .Schedule method returns
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
yes
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
30 replies
CC#
Created by Lyakabynka on 7/13/2023 in #help
❔ Hangfire: Guid instead of Int BackgroundJob.Schedule
No, I inject IBackgroundJobClient in MediatorHandler in this case
30 replies