We have specified in job definition as below which is incorrect but job is executing successfully. We are running this job on Linux server. Would you please check and let us know why it's running successfully even the server texesdu3 does not exist. Thanks.
machine: texesdu2.travp.net
owner: auXXXXX@texesdu3
Release : 12.0
Component : CA Workload Automation AE (AutoSys)
AutoSys only needs to send the user portion of the [email protected] if the job is a command job that runs on a unix/linux platform.
So, it is not passing the @<badhost>.
The user does exist on the agent, yes?
Or is some network id that can login, yes?
Quick test:
[[email protected]] autorep -d -J Sreenivasa
Job Name Last Start Last End ST/Ex Run/Ntry Pri/Xit
________________________________________________________________ ____________________ ____________________ _____ ________ _______
Sreenivasa 2022/05/04 09:38:08 2022/05/04 09:38:08 SU 294506/1 0
Status/[Event] Time Ntry ES ProcessTime Machine
-------------- --------------------- -- -- --------------------- ----------------------------------------
STARTING 2022/05/04 09:38:08 1 PD 2022/05/04 09:38:06 xx.com
RUNNING 2022/05/04 09:38:08 1 PD 2022/05/04 09:38:07 xx.com
<Executing at WA_AGENT>
SUCCESS 2022/05/04 09:38:08 1 PD 2022/05/04 09:38:07 xx.com
[[email protected]]$ autorep -q -J Sreenivasa
/* ----------------- Sreenivasa ----------------- */
insert_job: Sreenivasa job_type: CMD
command: echo 123
machine: xx.com
owner: [email protected]
permission:
date_conditions: 0
std_out_file: "/tmp/Sreenivasa.out"
std_err_file: "/tmp/Sreenivasa.err"
alarm_if_fail: 1
alarm_if_terminated: 1
[[email protected] ~]$ hostname
xx.com
[[email protected]]$ autorep -M xx.com -q
/* ----------------- xx.com ----------------- */
insert_machine: xx.com
type: a
max_load: 100
factor: 1.00
port: 7520
node_name: xx.com
agent_name: WA_AGENT
encryption_type: DEFAULT
character_code: ASCII
[[email protected]]$ autorep -M totallyfakehost -q
CAUAJM_E_50111 Invalid Machine Name: totallyfakehost