Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Conditional dependency?

Unanswered Question
Jul 17th, 2013
User Badges:

We're new to Tidal.  Running v. on Solaris.

We have the following requirement:

If a file exists, run Job A, then run Job B

Else run Job B.

We know how to use a File Event to Launch Job A when the file exists, and have Job A launch Job B.  (The IF)

Is there any to accomplish the else?

Thanks for any help.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
seancasey4 Wed, 07/17/2013 - 14:44
User Badges:

A follow-up:  Job A takes about 1 minute to process.

One idea is to just schedule Job B to run 30 minutes after Job A and run it unconditionally, but that "wastes" 30 minutes in an already overfull load window if the file is present and Job A has run.

Is there any way to have Job A do an Override of the schedule of Job B?   That would allow Job B to run earlier when Job A had run. 



Prakash Hemchand Wed, 07/17/2013 - 15:11
User Badges:
  • Cisco Employee,

You could just schedule job B to run directly after job A.

Setup Job A to process the file when it's present or simply 'exit 0' if the file is missing.

seancasey4 Wed, 07/17/2013 - 15:39
User Badges:

Yes, that is the "workaround," to just run Job B unconditionally at a time that insures that Job A has completed, if it ran.

These are Informatica Jobs.  Don't really have a easy way to test for the file and then exit if not present.  Setting up a File Event and Job Action to run Job A when the file IS present works, tho.

seancasey4 Wed, 07/17/2013 - 15:41
User Badges:

Not sure, but the requirement is to process it only once per day, first thing in the morning. It contains data used for BI, and those reports and dashboards are only published once per day. 


This Discussion