public void setProperties ( Properties properties ) { script = properties . getProperty ( "script" , script ) ; pageIntervalInMinutes = Integer . parseInt ( properties . getProperty ( "page_interval_in_minutes" , "" + pageIntervalInMinutes ) ) ; pageOffsetInMinutes = Integer . parseInt ( properties . getProperty ( "page_offset_in_minutes" , "" + pageOffsetInMinutes ) ) ; }
Expects a property script containing the actual script to be run . Specify page_interval_in_minutes and page_offset_in_minutes to have script run periodically .