Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


thematt
2008-09-29T21:36:43Z
Description:
I have to create a job that executes x # of tasks. Let's say 10. These tasks combined are going to take 10-12 hours.

Scenario:
Task #4 crashes. I manually fix the underlying bug for task #4 and want to rerun the job starting from task #4 (because running this job takes long enough as is), but I want 4 through 10 to run automatically at this point - instead of having to individually/manually select each task to run after their respective completion.

I have tried to write out a file at the completion of each task. But, if you check for the existence of said files as a condition for each task - you can only select one condition, not 2 - which would simulate if statement logic. If file exists - run next task. If doesn't exist - run current task.

There must be a way to execute a job starting from a task other than the first.

Thanks,
Matt
Sponsor
Forum information
Support
2008-09-30T10:21:18Z
You have the "On error" tab in the Task window. Here you can control what happens if something goes wrong. For example that it should go to a specified Task and run the following Tasks or not.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2008-09-30T13:43:40Z
Quick and Dirty method:

Disable task 1 to 3 and re-run the job. The job will now start at task 4. While running you can enable task 1 to 3 again for the next automatic shift.

Regards,
Erik
Uses Visualcron since 2006.
thematt
2008-09-30T14:26:51Z
The on error handling isn't what I'm looking for in this particular situation. I was hoping there was something more automated, ErikC, but that seems to be the option with which I am going.

Thanks.
ErikC
2008-09-30T15:12:34Z
You can add this question in the feature request.

Able to manually start the job at different entry points: not only at job level, but also at task level.

[edit] Right click on a task and select: Run job starting at selected task / Run job from here / Run job starting here [/edit]

Regards
Erik
Uses Visualcron since 2006.
Support
2008-09-30T19:29:04Z
Thanks. I am moving this topic to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top