You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create two jobs, one which loads the data (rss-feeds) and the second one filters the data. As rss-feeds takes some time I'm thinking of giving a gap/delay of 5mins, but I'm not able to achieve this with .delay();
You have a classic job dependency here. Sounds like you don't really want a delay of 5 (or whatever) minutes, you simply want job2 to wait until job1 is successfully finished. See:
Hi,
I'm trying to create two jobs, one which loads the data (rss-feeds) and the second one filters the data. As rss-feeds takes some time I'm thinking of giving a gap/delay of 5mins, but I'm not able to achieve this with .delay();
One:
Two:
I even tried enclosing the entire Two code in setTimeout of 5mins, but even that dint work.
Please suggest. Thanks.
The text was updated successfully, but these errors were encountered: