Community forum

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


mariyappa
2016-03-04T04:20:08Z
What is the difference between executing a Task from foreground and background?
In one of our servers we use VC 7.1.4 Licensed version.
By default all our VisualCron execute tasks are started with the ‘background execution’ setting.
When I trigger a task from VisaulCron with the ‘foreground execution’ setting applied, the task finishes in around 4 hours whereas when it is executed via background execution setting it takes 12 hours. Executing tasks in the foreground is not a feasible workaround . We need know how we can run tasks with background execution setting and achieve the same build times as foreground execution.

Kindly assist in this regard
Sponsor
Forum information
mariyappa
2016-03-11T09:35:22Z
Thanks for the link.
I need know how we can run tasks with background execution setting and achieve the same build times as foreground execution.
Support
2016-03-11T14:25:29Z
Originally Posted by: mariyappa 

Thanks for the link.
I need know how we can run tasks with background execution setting and achieve the same build times as foreground execution.



I do not see what could affect this. Generally, background should be faster as you do not need to spend time logging in to desktop.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
mariyappa
2016-03-17T13:43:46Z
Originally Posted by: Support 

Originally Posted by: mariyappa 

Thanks for the link.
I need know how we can run tasks with background execution setting and achieve the same build times as foreground execution.



I do not see what could affect this. Generally, background should be faster as you do not need to spend time logging in to desktop.



Hi,
In our Case we see Foreground execution is faster compared to Background.
As default VisualCron execute tasks are started with the ‘background execution’ setting taking 12 hours. When I trigger the cube build from VisaulCron but this time with the ‘foreground execution’ setting applied, the build finishes in around 4 hours.

How is it possible? What is the configuration change needed to achieve the same result for background and foreground?
Support
2016-03-17T15:39:45Z
Originally Posted by: mariyappa 

Originally Posted by: Support 

Originally Posted by: mariyappa 

Thanks for the link.
I need know how we can run tasks with background execution setting and achieve the same build times as foreground execution.



I do not see what could affect this. Generally, background should be faster as you do not need to spend time logging in to desktop.



Hi,
In our Case we see Foreground execution is faster compared to Background.
As default VisualCron execute tasks are started with the ‘background execution’ setting taking 12 hours. When I trigger the cube build from VisaulCron but this time with the ‘foreground execution’ setting applied, the build finishes in around 4 hours.

How is it possible? What is the configuration change needed to achieve the same result for background and foreground?



It is impossible to say. And that it is outside of VisualCron. We just tell the system to launch a process. The actual process that you launch is visible in the Task manager in Windows. From the moment we have launched the process it is taken care about Windows until the process is complete and we get back the result.

I wish we could reproduce to test but I do remember that you (Nielsen) mentioned this before but so far I have never heard about this before. Maybe you can find the reason if you try to log and actually break down which part exactly that causes delays but then you need to know that on Windows method level.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2016-03-17T15:40:49Z
What you can try, just for fun, is to run the whole VC service as the user you want to run it as and deselect the Credential in the Task. Maybe that will give another result.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top