search cancel

autorep results show different time than the Scheduler time

book

Article ID: 213678

calendar_today

Updated On:

Products

CA Workload Automation AE CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

The Scheduler log has the same time as the Scheduler Server time. But "autorep" shows a different time.

$ autosyslog -e


Monitoring CA WAAE Scheduler Log:
        /opt/CA/WorkloadAutomationAE/autouser.PRE/out/event_demon.PRE       

[04/26/2021 09:58:09]      CAUAJM_I_40245 EVENT: CHANGE_STATUS    STATUS: SUCCESS         JOB: jobname MACHINE: machine-name       EXITCODE:  0
......
[04/26/2021 09:58:09]      CAUAJM_I_40245 EVENT: CHANGE_STATUS    STATUS: SUCCESS         JOB: jobname  MACHINE: machine-name        EXITCODE:  0

This is the same time as on the AutoSys Server node :

# date
Mon Apr 26 09:58:59 EDT 2021

 

But "autorep" results are wrong and have one hour offset :

$ autorep -J jobname

Job Name                                                         Last Start           Last End             ST/Ex Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ _____ ________ _______
jobname                                              04/26/2021 08:58:09  04/26/2021 08:58:09  SU    12861997/1 0
 jobname                                             04/26/2021 08:58:09  04/26/2021 08:58:09  SU    12861997/1 0

Can you please suggest.

 

Environment

Release : 11.3.6

Component : CA Workload Automation AE

Resolution

The encountered problem is related to an offset of 1 hour between the “Scheduler Time” and the “Database Time”.

We can notice the following error message in the event_demon logs when the scheduler is restarted :

[04/26/2021 07:09:28]      CAUAJM_I_40218 **** Time offset between CA WAAE and Event Server 1 is 3600 seconds. ****

The recommended solution is to ask the DBA to setup the correct time inside the database.

This will help to get the correct time in the "autorep" results.