I want to know , can we check the the job status in another instance ?
I have a job running in XYZ instance , and can I get the job status from ABC instance ?
Or its mandatory to login to particular instance ..
If possible can you provide the command to check it ?
Related
I am trying to get some useful information from airflow backend. I need to get following details
How many times a particular job failed.
which task has failed over and over.
The problem is all our task has dependency on their upstream, and so when it fails, we fix the issue and mark it as success. This changes status in database as well. Is there a place I can get historical records?
following query shows which task failed. However if I mark it as success from UI, status is updated in database as well. And I have no way to show if this was failed.
select * from dag_run where dag_id='test_spark'
Currently, there is no native way but you can check log table -- it adds a record whenever there is action via CLI or UI.
Lets say i have a job that runs for 10mins(lets say the time as 10.00). i set max_run_alarm as 3. i should get an email at 10.03 where i can goahead and see why the job is running more than the max_run_alarm. if i use max_run_alarm i am able to see in the logs triggering that alarm, but I cannot spend all day monitoring the logs to see which job is taking long as i have many jobs. my question is am i using max_run_alarm in the correct way or is there something else i am missing or is there entirely different way for the emails to generate.
There is an added functionality where you can configure the email id where all Autosys notification to be sent out.
Incase of any event such as Job Failure / Termination / Run Alarms etc are notified to that email address.
This is configured by the Autosys Admin or the Scheduling Team which i call them as.
(Alert) I am new with autosys.
Our team is using autosys version 11.3.5 in remote server(no access to idash).What we are looking for is , if any job is running for more that its mentioned max run time in JIL script , it should email a report containing details of such jobs to a particular mailbox.
Please provide answer with details.So , that a newbie can understand.if possible please provide with the script as we are on tight schedule .
Thanks in Advance.
You can simply use 1max_run_alarmof Autosys to set the alarm and it will send an email to the email id that you put as a part ofnotification_emailaddress` parameter.
References:
https://wiki.orphicsolutions.com/doku.php?id=autosys:jil
Autosys Email Generation if the job runs more than the time specified
Someone ran wrong job with wrong inputs which caused a lot of problems and now my managers want me to find out the user name of that person.
So is there any way in logs or somewhere else where I would be able to find out the last user name who ran this job?
Open the job log and in the environment variables entry (2nd entry in the job log) you'll see a field called ISUSER (if my memory is correct). That property will give the name of the person who executed your DataStage job.
Is there any way in Control-M to pass the execution of the job without running the script?
Suppose i have passed all the parameters required for execution of job i.e. File Path, File Name , Node Id, Parameters but i want to run the job as dummy one but still want to successfully execute it and make it in green status.
Can we specify any command in Job Scheduling?
Yes, select 'dummy' as type of job and there is no need to pass command line to dummy job. It will get completed as soon as it gets the resource and you can use it as trigger for another job.
Regards,
Sahil Kondel
You can force set job OK in post-processing to get Green/Success status