5 Example
This topic provides the information of examples.
Suppose you have created a new FTP_COPY job, to copy ftp files from one location to another. It is a java job, where the class to be executed is FtpCopy.java.
You have provided the fully qualified class name as com.ofss.scheduler.quartz.ftp. FtpCopy.
The physical location of the java file is INFRA\FCJNeoWeb\Javasource\com\ofss\scheduler\quartz\ftp\FtpCopy.java.
In this class, you have to override the execute method of Job class to provide the implementation logic, which is executed when the quartz scheduler executes the class. The execute method format is as below.
public void execute (JobExecutionContext context) throws JobExecutionException {}
The sample java file is attached: