https://github.com/igece/scheduledactions
Provides a set of classes that allow to execute an Action on a regular time schedule.
https://github.com/igece/scheduledactions
action csharp netstandard2 scheduler
Last synced: about 2 months ago
JSON representation
Provides a set of classes that allow to execute an Action on a regular time schedule.
- Host: GitHub
- URL: https://github.com/igece/scheduledactions
- Owner: igece
- License: mit
- Created: 2019-10-07T15:19:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-23T23:02:56.000Z (over 3 years ago)
- Last Synced: 2025-06-17T08:44:16.394Z (12 months ago)
- Topics: action, csharp, netstandard2, scheduler
- Language: C#
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scheduled Actions
[](https://www.nuget.org/packages/ScheduledActions)
[](https://www.nuget.org/packages/ScheduledActions)
Provides a set of classes that allow to execute one or several `Action` instances on a regular time schedule.
If more than one `Action` instances are passed to a class, they will be executed sequentially.
## Installation
Using NuGet package manager console:
```
Install-Package ScheduledActions
```
Using .NET CLI:
```
dotnet add package ScheduledActions
```
## Usage
**Please Note:** All these classes implements the `IDisposable` interface, so any instance must be properly disposed when no longer needed.
## HourlyAction
Prepares an action that will be executed each X hours.
## DailyAction
Prepares an action that will be executed each X days.
## WeeklyAction
Prepares an action that will be executed each X weeks.
## MonthlyAction
Prepares an action that will be executed each X months.