Some suggestions:

* SQLSensor pointing to the other database
* Put a file somewhere, where it is being polled by the other dag/task
* Trigger the dag1 from task2 (easier with the Rest API in master)

Bolke

> On 4 Jan 2017, at 21:08, Michael Gong <[email protected]> wrote:
> 
> Hi,
> 
> 
> Say due to some policy, I have to run 2 dag instances on 2 different servers.
> 
> 
> If I want task 1 from dag1 depends on task 2 from dag2, how can I do it ?
> 
> 
> One idea I can  think of is that the 2 dag instances share the same MySQL db, 
> will it work ?
> 
> 
> 
> Any ideas are welcomed.
> 
> 
> thanks.
> 
> Michael
> 
> 
> 
> 
> 
> 
> 
> 

Reply via email to