Skip to content

Releases: NielsPilgaard/Pilgaard.BackgroundJobs

scheduledjobs-v8.0.1

28 Dec 21:21
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.2.0...scheduledjobs-v8.0.1

recurringjobs-v8.0.1

28 Dec 21:22
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.2.0...recurringjobs-v8.0.1

cronjobs-v8.0.1

28 Dec 21:22
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.2.0...cronjobs-v8.0.1

backgroundjobs-v8.0.1

28 Dec 21:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.2.0...backgroundjobs-v8.0.1

backgroundjobs-v7.2.2

08 Jun 18:06
4d45ce3
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.2.0...backgroundjobs-v7.2.2

backgroundjobs-v7.2.1

08 Jun 18:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.2.0...backgroundjobs-v7.2.1

backgroundjobs-v7.2.0

27 Feb 19:33
6caa8a4
Compare
Choose a tag to compare

The BackgroundJobService will now exit early if only IRecurringJob/IRecurringJobWithInitialDelay instances are registered. These run on a separate timer, so there's no reason for the BackgroundJobService to poll for background jobs to run.

This reduces resource usage in scenarios where only IRecurringJob/IRecurringJobWithInitialDelay instances are registered.

What's Changed

Full Changelog: backgroundjobs-v7.1.2...backgroundjobs-v7.2.0

backgroundjobs-v7.1.2

24 Aug 10:26
Compare
Choose a tag to compare

Reworked how RecurringJobs are scheduled for execution. The implementation now uses a timer, and is very reliable.

This PR also introduces 1 new job type: IRecurringJobWithInitialDelay
Use this to implement recurring jobs where you have control over when they execute for the first time. Use TimeSpan.Zero to have it execute on startup.

Public signature updates:

  • IBackgroundJobService now implements IDisposable
  • Two new registration methods for IRecurringJobWithInitialDelay
  • Both constructors for BackgroundJobRegistration now take bool isRecurringJob. It defaults to false
  • Addition of this interface:
public interface IRecurringJobWithInitialDelay : IRecurringJob
{
    TimeSpan InitialDelay { get; }
}

Fixes #86

What's Changed

Full Changelog: backgroundjobs-v7.0.7...backgroundjobs-v7.1.2

backgroundjobs-v7.1.1

24 Aug 10:21
b42155d
Compare
Choose a tag to compare

Reworked how RecurringJobs are scheduled for execution. The implementation now uses a timer, and is very reliable.

This PR also introduces 1 new job type: IRecurringJobWithInitialDelay
Use this to implement recurring jobs where you have control over when they execute for the first time. Use TimeSpan.Zero to have it execute on startup.

Public signature updates:

  • IBackgroundJobService now implements IDisposable
  • Two new registration methods for IRecurringJobWithInitialDelay
  • Both constructors for BackgroundJobRegistration now take bool isRecurringJob. It defaults to false
  • Addition of this interface:
public interface IRecurringJobWithInitialDelay : IRecurringJob
{
    TimeSpan InitialDelay { get; }
}

Fixes #86

What's Changed

Full Changelog: backgroundjobs-v7.0.7...backgroundjobs-v7.1.1

backgroundjobs-v7.1.0

24 Aug 10:20
b42155d
Compare
Choose a tag to compare

What's Changed

Full Changelog: backgroundjobs-v7.0.7...backgroundjobs-v7.1.0