[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 910
  • Last Modified:

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
0
hefterr
Asked:
hefterr
  • 4
1 Solution
 
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:
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
 
hefterrAuthor Commented:
This was not a Windows issue.  The question should be withdrawn.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now