We are leaving Russia. We are against aggression and war with Ukraine. It is a tragedy for our nations, it is a nightmare

Triggering a Hangfire job from a seperate process

I’ve written a Windows Service using Hangfire which sends out various reports at scheduled times. However, from time to time users have manually requested for a report to be run outside of the scheduled time.

I was wondering if these can be triggered on demand outside of the Hangfire process without using the dashboard?

So, let’s assume I’ve got this job:

RecurringJob.AddOrUpdate(nameof(Tasks.HelloWorld),
                            () => tasks.HelloWorld(null, CancellationToken.None),
                            Cron.Daily(07, 30),
                            TimeZoneInfo.Local);

Would it be possible to trigger a job from the MVC website? Thanks.