Link to home
Create AccountLog in
Avatar of hefterr
hefterrFlag for United States of America

asked on

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
Avatar of PenguinN
PenguinN

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
Avatar of hefterr

ASKER

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
Avatar of hefterr

ASKER

>>>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.

ASKER CERTIFIED SOLUTION
Avatar of hefterr
hefterr
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of hefterr

ASKER

This was not a Windows issue.  The question should be withdrawn.