File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scheduler

 
Murali Narayanaswamy
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to build a scheduler module very similar to the appointment recurrence available in Microsoft outlook. When we schedule a job to a recurrence pattern, the job should execute as per the schedule.

I am using cron expressions to prepare the schedule but I am struck up when the recurrence pattern frames a pattern like the following

Occurs every 999 days effective <date> from <start time>

Please let me know the possible solutions

Thanks much
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked into the Timer and TimerTask of core java.
For advanced scheduling features you might want to look at Quartz scheduler.
Quartz Homepage
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic