About Question enthuware.oce-ejbd.v6.2.432 :

Moderator: admin

Post Reply
ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

About Question enthuware.oce-ejbd.v6.2.432 :

Post by ramy6_1 »

Hello ,

I agree that @Schedule(hour="*") is required for the timer to be invoked each hour.
But will @Schedule only do the same effect ?

Kindly advice

admin
Site Admin
Posts: 10062
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.432 :

Post by admin »

No, the JavaDoc API for this annotation clearly says:
All elements of this annotation are optional. If none are specified a persistent timer will be created with callbacks occuring every day at midnight in the default time zone associated with the container in which the application is executing.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 81 guests