FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Jobs/src/NetCoreStack.Jobs/ProcessableCronJob.cs at master · NetCoreStack/Jobs · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
NetCoreStack
/
Jobs
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
8
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Jobs
/
src
/
NetCoreStack.Jobs
/
ProcessableCronJob.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (24 loc) · 702 Bytes
Breadcrumbs
Jobs
/
src
/
NetCoreStack.Jobs
/
ProcessableCronJob.cs
Copy path
File metadata and controls
26 lines (24 loc) · 702 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using
NCrontab
;
using
System
;
namespace
NetCoreStack
.
Jobs
{
internal
class
ProcessableCronJob
{
protected
JobDescriptor
JobDescriptor
{
get
;
}
public
CrontabSchedule
Schedule
{
get
;
}
public
Type
Type
{
get
;
}
public
DateTime
CreatedAt
{
get
;
set
;
}
public
DateTime
?
Next
{
get
;
set
;
}
public
DateTime
LastRun
{
get
;
set
;
}
public
ProcessableCronJob
(
JobDescriptor
jobDescriptor
)
{
JobDescriptor
=
jobDescriptor
;
Schedule
=
jobDescriptor
.
Cron
;
Type
=
jobDescriptor
.
Type
;
}
public
override
string
ToString
(
)
{
return
$
"Job:
{
Type
.
Name
}
"
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL