DelvePartners/Nestle-Job-Scheduler — pull request #1 by ebridges (2013-05-06 02:16:57+00:00)
Title: Add scheduler for Google Analytics job

This change configures the scheduler to run the [GA Talend ETL Job](https://github.com/DelvePartners/NESTLE_GOOGLEANALYTICS_IMPORT).

There are two main classes that cover most of the functionality for this project:
* [`SchedulerMain`](https://github.com/DelvePartners/Nestle-Job-Scheduler/blob/develop/src/main/java/com/delvepartners/scheduler/SchedulerMain.java)
* [`WorkerMain`](https://github.com/DelvePartners/Nestle-Job-Scheduler/blob/develop/src/main/java/com/delvepartners/scheduler/WorkerMain.java)

The following horrible things are introduced by this change:
* Connect info to the staging database is hardcoded in the job. That needs to change before prod.
* The [start & end end date parameters are hard coded](https://github.com/DelvePartners/Nestle-Job-Scheduler/blob/develop/src/main/java/com/delvepartners/scheduler/TalendJobRunner.java#L31) to run for the prior day. This may or may not need to be changed for prod release.
* Schedule is hard coded to run job every 10 minutes. This may or may not need to be changed for prod release.