Hangfire.RecurringJobExtensions
Hangfire.RecurringJobExtensions copied to clipboard
Providercontext is null
Hi, am very exited about this extension. Mainly being able to use json configuration files to define jobs to be created. I had to do some tweaking to get the code running in the lastes version of Hangfire. I am experiencing however one issue that i do not understand why this is happening: It seems dat the job defined using the IRecurringJob interface is passed a null value for the PerformContext parameter in the Execute method.
The dashboard shows this:
// Job ID: #20038 using HF.TaskDefinitions;
var powerShellTask = Activate<PowerShellTask>(); powerShellTask.Execute(null);
Does anyone have an idea why this might be happening. Help is much appreciated!