# Depend job status

**URL:** <https://community.openpbs.org/t/depend-job-status/2406>\
**Category:** Users/Site Administrators\
**Created:** [December 18, 2020, 10:29am UTC](https://community.openpbs.org/t/depend-job-status/2406 "2020-12-18T10:29:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lior](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@lior](https://community.openpbs.org/u/lior)\
**Post date:** [December 18, 2020, 10:29am UTC](https://community.openpbs.org/t/depend-job-status/2406/1 "2020-12-18T10:29:54Z")

</div>

Hi all,

I have a job (call it job2) that is dependent on another one (call it job1) with afterok type of dependency.  
If job1 fails, then job2 just disappears from the queue with no output of stderr (job2.e###). Is there a way to know that job2 did not run because job1 failed?

Thanks,  
L

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [December 18, 2020, 11:07am UTC](https://community.openpbs.org/t/depend-job-status/2406/2 "2020-12-18T11:07:35Z")

</div>

As per the documentation: Error processing of the existence, state, or condition of the job on which the newly-submitted job depends is performed after the job is queued. If an error is detected, the new job is deleted by the server. Mail is sent to the job submitter stating the error.

Please check your mailbox  
on the server .

---

<div class="post-metadata">

**Author:** ![lior](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@lior](https://community.openpbs.org/u/lior)\
**Post date:** [December 18, 2020, 2:47pm UTC](https://community.openpbs.org/t/depend-job-status/2406/3 "2020-12-18T14:47:31Z")

</div>

Thanks adarsh for the quick response.  
I didn’t define an email directive for these PBS jobs since they are part of a script that runs many jobs sequentially and this means getting alot of emails.  
Is there a way to get the info not through email?

Thanks,  
L

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [December 19, 2020, 11:31pm UTC](https://community.openpbs.org/t/depend-job-status/2406/4 "2020-12-19T23:31:14Z")

</div>

> [@lior](#):
>
> Is there a way to get the info not through email?

No, there isn’t any option or configuration. Thank you
