Hello I trigger job as follows but the code does not run - The code to run is in another project referenced in the API project. I did all config as in Getting Started for ASP .Net guide and the demo ‘Hello world from Hangfire!’ is running ok.
public bool PublishToSSIS(string customer, string country, string paygroup)
var currentUserId = ConnectAdminPermissionHelper.CurrentApplicationUser();
var result =BackgroundJob.Enqueue(()=> _mediator.Command(new PayrollCalendarsPublishCommand(customer, country, paygroup, currentUserId)));
In the Jobs table I see the job as Scheduled. For the Hello world task teh status is Succeeded. So Question - how do I turn the Scheduled to Succeeded?