1.6.20 update and recurring jobs

recurring
Tags: #<Tag:0x00007f69fcde0e28>

#1

Under 1.6.19 if a recurring job assembly was not available it ignored it. After upgrading to 1.6.20 it shows errors in the screen. Something behaves differently. Is this by design?

Could not load file or assembly ‘xxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.


#2

It looks like it errored in 1.6.19 but the screen did’nt show the jobs like it does now. Please ignore.


#3

The hangfire database was restored from one that had many recurring jobs. I removed the jobs upon startup.

using (var connection = JobStorage.Current.GetConnection())
{
foreach (var recurringJob in connection.GetRecurringJobs())
{
RecurringJob.RemoveIfExists(recurringJob.Id);
}
}