Solved

Scheduled Task for 2003 - Peachtree API

Posted on 2010-11-14
5
872 Views
Last Modified: 2013-11-15
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
Comment
Question by:hefterr
  • 4
5 Comments
 
LVL 8

Expert Comment

by:PenguinN
ID: 34132149
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
 
LVL 1

Author Comment

by:hefterr
ID: 34136180
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
 
LVL 1

Author Comment

by:hefterr
ID: 34136203
>>>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
 
LVL 1

Accepted Solution

by:
hefterr earned 0 total points
ID: 34169852
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
 
LVL 1

Author Closing Comment

by:hefterr
ID: 34195154
This was not a Windows issue.  The question should be withdrawn.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, I've just fixed a problem with Sage 50 Accounts 2010 crashing when creating a new Company.  I've spent nearly 4 hours on it including three calls to the Sage helpdesk (they didn't work it out in the end - I did!) ... so I thought I'd share th…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now