Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3825

Spring daylight savings change can break recurring tasks

    Details

    • Support Ticket IDs:

      Description

      Just last week this backup command was working but recently the flag --recurringTask "00 02 * * 0" is causing an error as shown below (nonexistent calendar date). In addition these flags are also erring in the same way --recurringTask "00 02 * * 1" and --recurringTask "00 02 * * 2".

      Strangely, when using --recurringTask "00 02 * * 3" the command executes successfully.

      [basopndj@apim-api-manager-user-store-initial ~]$ /opt/opendj/bin/backup --port 4444 --bindDN "cn=Directory Administrator" -j "/opt/opendj/config/pwd/pwd.txt" --backUpAll --backupID fullbackup01 --compress --backupDirectory "/opt/opendj/backup/fullbackup" --recurringTask "00 02 * * 0"
      ERROR: An error occurred while trying to decode the response from the server:
      
      The provided recurring task entry attribute ds-recurring-task-schedule holding
      
      the recurring task schedule has invalid tokens combination yielding a
      
      nonexistent calendar date
      
      [basopndj@apim-api-manager-user-store-initial ~]$ /opt/opendj/bin/backup --port 4444 --bindDN "cn=Directory Administrator" -j "/opt/opendj/config/pwd/pwd.txt" --backUpAll --backupID fullbackup01 --compress --backupDirectory "/opt/opendj/backup/fullbackup" --recurringTask "00 02 * * 3"
      Recurring Backup task fullbackup01 scheduled successfully
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cjr Chris Ridd
                Reporter:
                denmanld Lake Denman [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: