book
Article ID: KB0077744
calendar_today
Updated On:
Description
A analysis or report task will run interactively via Enterprise Manager or Statistica Server, but when scheduled on Statistica Server (or WebStatistica), the task never runs.
For example, when scheduling a task via the WebStatistica interface, like the following, the analysis never runs:
Cause:
Environment
Windows operating systems only. Statistica Server only.
Resolution
Typically, WebStatistica errors will appear in either the StaLib.log files or the Windows Event Logs. However, in this scenario, neither the StaLib.log or the Event Logs show any errors but the StaLib.log does show that a task was has been scheduled:

When no errors show in the StaLib.log files or the Event Logs, then we must check the Task Scheduler history. Statistica Server uses the Windows Task Scheduler to schedule tasks. For example, see the error below in the Task Scheduler history:

Error value is 2147943785. This indicates a permissions issue for the user listed, with one of the following policies in the Local Security Policy:
- Allow log on locally
- Log on as a batch job
- Log on as a service
The solution is to add this user to the local security policies (or add the user to a group then add the group to the policy):
Issue/Introduction
This article discusses why a scheduled task will not run on Statistica Server (previously known as WebStatistica) when the task will run interactively.