photo

spiritfly

shared this idea
4 months ago

Employees Involved

photo

SCM

Admin

Statistics

4
Comments
1
Views

Share

Tags

40
votes

Schedule Task After Another Task Finishes

I love the scheduler option, but I find the following lacking. For example I want to generate articles with one task, and then automatically translate them as soon as they are finished. Currently I need to somehow predict how long the article generation is going to last so I can set the translation task. If for some reason it doesn't finish on time then it will all fail.

So what I suggest is a way to chain tasks. For example schedule a task to run as soon as task X is finished. This will open wonderful oppurtunites for automation.

Under Consideration
+1 I like this idea
Official Answer
photo Employee
SCM Posted 4 months ago

The scheduler will run one task after another linearly in the grid from top to bottom.

So (as long as you have 1 thread only) select both tasks and hit run, it will do what you require.

But I understand it being nice to select in scheduler run x task next or something similar.

Add Comment

Comments (4)

photo
16

But I need to do this repeatedly. For example I set the first task to run every day at 7:00 am, and the second one needs to run right after the first one. An example use case scenario is:

Article Creator is scheduled to generate 100 articles a day in a specified folder and is scheduled to run at 7am each day

Bulk Translator translates all the generated articles from that folder in "French" exactly after they've been generated.

Also this will open many new opportunities for automatic content generation like chaining 3-4.. tasks together. Example:

Article creator task #1 creates articles about dog types and runs at 7am

Article creator task #2 creates articles about training animals while importing the content from task #1 and runs after task #1

Bulk Translator runs after task #2 has finished and translates the articles to French

Content Inserter adds videos with french keywords

and so on..

Also I use multiple threads :)

photo Employee
17

In that case you need a "run this task after" command!

photo
18

SCM wrote:

In that case you need a "run this task after" command!
Exactly! :)

Can you do it?

photo Employee
17

spiritfly wrote:

SCM wrote:

In that case you need a "run this task after" command!
Exactly! :)

Can you do it?

Yes it should be doable.

Leave Comment

photo