Skip to content

Providercontext is null #14

@mschaaks

Description

@mschaaks

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.Execute(null);

Does anyone have an idea why this might be happening. Help is much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions