PQ93024; 5.1.1: The CRON calendar will not always
increment the year
Downloadable files
Abstract
The CRON calendar may not increment the year.
Download Description
PQ93024 resolves the following problem:
ERROR DESCRIPTION:
The WebSphere scheduler provides two calendaring functions to calculate
task run dates. The CRON calendar allows specifying a string in a
CRONTAB-like format to calculate possible dates.
There is an error in the scheduler CRON algorithm where the year may not
be calculated.
For example:
Applying CRON expression: 0 0 0 1 1 ? to date 2004-08-15 10:00 will
incorrectly producing a date with the current year: 2004-01-01 00:00. The
correct date should be: 2005-01-01 00:00
LOCAL FIX:
USERS AFFECTED:
WebSphere Application Server Enterprise Edition 5.0.x users of the
internal CRON calendar feature of the Scheduler function.
PROBLEM DESCRIPTION:
The CRON calendar may not increment the year.
RECOMMENDATION:
The WebSphere scheduler provides two calendaring functions to calculate
task run dates. The CRON calendar allows specifying a string in a
CRONTAB-like format to calculate possible dates. There is an error in the
scheduler CRON algorithm where the year may not be calculated.
For example:
Applying cron expression: 0 0 0 1 1 ? to date: 2004-08-15 10:00 is
incorrectly producing a date with the current year: 2004-01-01 10:00. The
correct date should be: 2005-01-01 10:00
PROBLEM CONCLUSION:
The CRON calendar was fixed to increment the year properly.
Prerequisites
Please download the UpdateInstaller below to install this fix.