php 调度程序未运行 0x8004131F
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17448145/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Scheduler does not running 0x8004131F
提问by Bharanikumar
I want to run the PHP script every 5 min, so i have created VBScript and this VBScript will kick the PHP Application, This VBScript will be configured in the Scheduler task in control panel. Scheduled job never ran getting following error code An instance of this task is already running. 0x8004131F
.
我想每 5 分钟运行一次 PHP 脚本,所以我创建了 VBScript,这个 VBScript 将启动 PHP 应用程序,这个 VBScript 将在控制面板的调度程序任务中配置。计划的作业从未运行得到以下错误代码An instance of this task is already running. 0x8004131F
。
Updated Note:
更新说明:
Finally today i have identified the scheduler problem. i have two users both users have same privileges (administrator). consider user1, user2.
今天终于确定了调度程序问题。我有两个用户,两个用户都拥有相同的权限(管理员)。考虑用户 1、用户 2。
When i schedule the SCRIPT under user1. Script will initiate automatically as per scheduled time.
当我在 user1 下安排 SCRIPT 时。脚本将按照预定时间自动启动。
But when i schedule the SCRIPT under user2. Script will no ran. as well i am getting mentioned error. " An instance of this task is already running. 0x8004131F ".
但是当我在 user2 下安排 SCRIPT 时。脚本不会运行。我也提到了错误。“此任务的一个实例已在运行。0x8004131F”。
Still this issue not resolved for me.
这个问题仍然没有为我解决。
回答by Saurabh Chandra Patel
you choose the option "Do not start a new instance, If the task is already running, then the following tule applies"
in this task's settings.
您"Do not start a new instance, If the task is already running, then the following tule applies"
在此任务的设置中选择该选项。