Estou com um problema no Quartz ... Estou executando o trigger para
executar hoje 13:00 ... e ele nao executou ... Colei o pedaco do meu
codigo... se alguem ja utilizou o Quartz e puder me ajudar ...
//Set Calendario com a dataIni, horaIni
Calendar cal = Calendar.getInstance();
cal.setTime(new java.util.Date());
cal = new java.util.GregorianCalendar(2005, java.util.Calendar.MARCH,
21);
cal.set(Calendar.HOUR_OF_DAY,13);
cal.set(Calendar.MINUTE,00);
cal.set(Calendar.SECOND,0);
cal.set(Calendar.MILLISECOND,0);
System.out.println("cal = "+cal.getTime());
//Start Time
Date startTime = cal.getTime();
//Imprime a data
DateFormat dataHoraCurta = DateFormat.getDateTimeInstance();
System.out.println("data e hora agendada =
"+dataHoraCurta.format(startTime));
//Trigger a partir de Data e hora inicial, 1 vez ao dia, infinitamente.
SimpleTrigger trigger = new SimpleTrigger("trigg10",
"group10",
startTime,
null,
SimpleTrigger.REPEAT_INDEFINITELY,
5L * 24L * 60L * 60L * 1000L);
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 18/3/2005
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/jug-petropolis/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/