hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scheduled task needs desktop resources

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions
View previous topic :: View next topic  
Author Message
hamilton



Joined: 13 Oct 2009
Posts: 1

PostPosted: Tue Oct 13, 2009 8:44 am    Post subject: Scheduled task needs desktop resources Reply with quote

I have a chain of tasks that require desktop resources such as opening Internet Explorer and sending keystrokes. The chain runs fine from within the Automize application, yet will not run in the NT Service correctly. It looks like the task will launch and complete in the NT Service, but does not deliver the results that the task would provide (download an audit file from a Citrix server to a local drive). Apparently, the Send Keystrokes task, which is at the core of this chain task, cannot run from the NT Service. Is there any way to get the chain of tasks on a schedule to run either by the Automize or NT Task Scheduler so that it will have desktop services that it needs without keeping the computer logged in all of the time?
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Oct 13, 2009 3:11 pm    Post subject: Reply with quote

Use the Task Runner feature (utilities menu / commandline menu / task runner menu ). This gives you the commandline and working directory needed to run the task from batch file or windows scheduler.

Run the task using windows scheduler (control panel / schedule tasks) .
In a new scheduled task (windows scheduler), use the commandline, working directory that is provided by the Task Runner feature.

In windows scheduler, you can set the account, and only run task when logged on.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Frequently Asked Questions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group