Scheduled Task for 2003 - Peachtree API

Hi,
We are trying to schedule a VBScript that uses an API for the Peachtree Accounting 2011 application on our server.  The API actually lauches the GUI of the application and this works fine if an RDC account (associated wit the task) is logged on.  Otherwise it does not.

Is there a way to schedule a task on Windows 2003 to overcome this issue and force a "silent mode"?  I guess we can always have an RDC account logged in?  Is there a method to use in the Peachtree API to force Silent Mode?

Thanks,
hefterr
LVL 1
hefterrAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
hefterrConnect With a Mentor Author Commented:
I contacted Peachtree and the application must run in the current release when interfacing with the COM API.

It is not a Windows issue.

hefterr
0
 
PenguinNCommented:
Have you checked to ensure that the account is running the task is granted the right to "Log on as a batch job"
You can find it in Local Security Policy\Local Policies\User Rights Assignments\Log on as a batch job
0
 
hefterrAuthor Commented:
Hi PenguinN,
Thanks for the answer.  But I think it's a Peachtree issue.  The user has administrator rights.  The job is beining initiated and is communicating with Peachtree - but just hangs at the "opencompanysecure" com method when the user associated with the scheduled task is not logged in.  I think this is somewhat based on the fact that Peachtree always open the graphic interface and the API does not provide a "silent mode".  The openning of the graphic interface without a user seems to hang the application.

I think I will need to have a permanently logged in "peachtreebatch" user for this process.

Any thoughts?

Thanks,
hefterr
0
 
hefterrAuthor Commented:
>>>You can find it in Local Security Policy\Local Policies\User Rights Assignments\Log on as a batch job


The user is in the list also.

0
 
hefterrAuthor Commented:
This was not a Windows issue.  The question should be withdrawn.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.