C# Class R.Scheduler.Ftp.FtpDownloadJob

A job that implements a specific ftp file download scenario: Downloads all the files with specified extension, that are no older than a specified cut-off timespan, into a local directory.
Inheritance: IJob
Show file Open project: R-Suite/R.Scheduler

Public Methods

Method Description
Execute ( IJobExecutionContext context ) : void
FtpDownloadJob ( ) : System

Ctor used by Scheduler engine

Protected Methods

Method Description
GetOptionalParameter ( Quartz.JobDataMap data, string propertyName ) : string
GetRequiredParameter ( Quartz.JobDataMap data, string propertyName, string jobName ) : string

Method Details

Execute() public method

public Execute ( IJobExecutionContext context ) : void
context IJobExecutionContext
return void

FtpDownloadJob() public method

Ctor used by Scheduler engine
public FtpDownloadJob ( ) : System
return System

GetOptionalParameter() protected method

protected GetOptionalParameter ( Quartz.JobDataMap data, string propertyName ) : string
data Quartz.JobDataMap
propertyName string
return string

GetRequiredParameter() protected method

protected GetRequiredParameter ( Quartz.JobDataMap data, string propertyName, string jobName ) : string
data Quartz.JobDataMap
propertyName string
jobName string
return string