| | |
| | | import org.geotools.data.jdbc.JDBCUtils;
|
| | | import org.geotools.data.edbgeo.PostgisDataStore;
|
| | | import org.geotools.data.edbgeo.PostgisDataStoreFactory;
|
| | | import org.geotools.feature.IllegalAttributeException;
|
| | | import org.geotools.feature.SchemaException;
|
| | | import org.opengis.feature.IllegalAttributeException;
|
| | | import org.quartz.JobDataMap;
|
| | | import org.quartz.JobDetail;
|
| | | import org.quartz.JobExecutionContext;
|
| | |
| | | JobDetail jobDetail = context.getJobDetail();
|
| | |
|
| | | // The name is defined in the job definition
|
| | | String jobName = jobDetail.getName();
|
| | | String jobName = jobDetail.getKey().getName();
|
| | |
|
| | | // Log the time the job started
|
| | | logger.info(jobName + " fired at " + new Date());
|