I am setting JobExpirationCheckInterval to 1 day but i have no control about when it will run exactly
Is it possible to run this routine daily at 3am? It appears to run on random hours. Does it consider 1 day after the start of the aplication to decide at what time it will run?
I am having issues with a big database full of jobs, and sometimes when it starts my aplication is unable to enqueue jobs due to locks on the SQLServer [Hangfire].Job table.
var options = new SqlServerStorageOptions { CommandBatchMaxTimeout = TimeSpan.FromMinutes(21), SlidingInvisibilityTimeout = TimeSpan.FromMinutes(5), QueuePollInterval = TimeSpan.Zero, UseRecommendedIsolationLevel = true, DisableGlobalLocks = true, SqlClientFactory = SqlClientFactory.Instance, PrepareSchemaIfNecessary = true, EnableHeavyMigrations = false, DeleteExpiredBatchSize = 1000, TryAutoDetectSchemaDependentOptions = true,
JobExpirationCheckInterval = TimeSpan.FromDays(1)
};I am setting JobExpirationCheckInterval to 1 day but i have no control about when it will run exactly Is it possible to run this routine daily at 3am? It appears to run on random hours. Does it consider 1 day after the start of the aplication to decide at what time it will run?
I am having issues with a big database full of jobs, and sometimes when it starts my aplication is unable to enqueue jobs due to locks on the SQLServer [Hangfire].Job table.