Solo la primera vez van a empezar juntos, luego, las 10 horas cuentan desde
el momento en que terminó la sync.
Pero si queremos un horario fijo podemos poner una expresion de cron en vez
del fixedDelay

--
tifi.-


On 25 May 2013 18:58, Maxi Rosson <notifications@github.com> wrote:

> In
> media-fever-server/src/main/java/com/mediafever/core/scheduler/SynchronizationScheduler.java:
>
> > +	 * and the start of the next one.
> > +	 */
> > +	@Scheduled(fixedDelay = 36000000)
> > +	public void scheduledSeriesSync() {
> > +		if (startSyncSeriesSchedule()) {
> > +			LOGGER.info("Series synchronization process started.");
> > +		} else {
> > +			LOGGER.info("Series synchronization already in progress, skipping this schedule.");
> > +		}
> > +	}
> > +	
> > +	/**
> > +	 * Executes a movies 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)
>
> No deberiamos desfasar los dos jobs para que no arranquen al mismo
> tiempo???
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/maxirosson/media-fever/pull/73/files#r4393367>
> .
>