Cuando la levanta, sincroniza, y después espera 10hs desde que termina la
sincronización para volver a empezar.

--
tifi.-


On 25 May 2013 18:54, Maxi Rosson <notifications@github.com> wrote:

> In
> media-fever-server/src/main/java/com/mediafever/core/scheduler/SynchronizationScheduler.java:
>
> > +		return getLastSyncStartDate(moviesSyncController);
> > +	}
> > +	
> > +	public String getLastSyncEndDate(SyncController syncController) {
> > +		return DateUtils.format(syncController.getLastSyncEndDate(), DateUtils.YYYYMMDDHHMMSSZ_DATE_FORMAT);
> > +	}
> > +	
> > +	public String getLastSyncStartDate(SyncController syncController) {
> > +		return DateUtils.format(syncController.getLastSyncStartDate(), DateUtils.YYYYMMDDHHMMSSZ_DATE_FORMAT);
> > +	}
> > +	
> > +	/**
> > +	 * Executes a series synchronization process with a fixed period of 10 hours between the end of the last invocation
> > +	 * and the start of the next one.
> > +	 */
> > +	@Scheduled(fixedDelay = 36000000)
>
> Cada vez que levanta la app sincroniza? O espera 10 hs despues de levantar
> la app?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/maxirosson/media-fever/pull/73/files#r4393359>
> .
>