Last change
on this file since 472dd7e was f554983, checked in by Dimitar Slezenkovski <dslezenkovski@…>, 4 years ago |
Add cron job for updating data, with Quartz.NET
|
-
Property mode
set to
100644
|
File size:
405 bytes
|
Rev | Line | |
---|
[f554983] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Text;
|
---|
| 4 |
|
---|
| 5 | namespace FarmatikoServices.Services.JobDTO
|
---|
| 6 | {
|
---|
| 7 | public class JobSchedule
|
---|
| 8 | {
|
---|
| 9 | public JobSchedule(Type jobType, string cronExpression)
|
---|
| 10 | {
|
---|
| 11 | JobType = jobType;
|
---|
| 12 | CronExpression = cronExpression;
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | public Type JobType { get; }
|
---|
| 16 | public string CronExpression { get; }
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
| 19 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.