Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Providercontext is null #14

Open
mschaaks opened this issue Jul 16, 2020 · 0 comments
Open

Providercontext is null #14

mschaaks opened this issue Jul 16, 2020 · 0 comments

Comments

@mschaaks
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant