mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
修改 - 调整细节问题
This commit is contained in:
parent
abec3e7045
commit
11cd9f79b8
@ -30,7 +30,7 @@ function serverExe(servername, commande) {
|
|||||||
serverModel.sendCommand(servername, commande);
|
serverModel.sendCommand(servername, commande);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
//默认忽略定时计划任务错误
|
//默认忽略定时计划任务错误
|
||||||
MCSERVER.log("[ Schedule ] [", servername, "] 服务器计划执行时报错 | 已忽略");
|
// MCSERVER.log("[ Schedule ] [", servername, "] 服务器计划执行时报错 | 已忽略");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -115,9 +115,9 @@
|
|||||||
<div class="col-md-3 col-sm-6" v-on:click="toSchedule()">
|
<div class="col-md-3 col-sm-6" v-on:click="toSchedule()">
|
||||||
<div class="PanelItemBlock">
|
<div class="PanelItemBlock">
|
||||||
<div class="LogV">
|
<div class="LogV">
|
||||||
<span class="glyphicon glyphicon-erase" aria-hidden="true"> </span>
|
<span class="glyphicon glyphicon-indent-right" aria-hidden="true"> </span>
|
||||||
</div>
|
</div>
|
||||||
<div class="LogK">计划任务</div>
|
<div class="LogK">计划任务项目</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,18 +10,18 @@
|
|||||||
<table class='PropertiesList' width="80%" style="margin: auto;">
|
<table class='PropertiesList' width="80%" style="margin: auto;">
|
||||||
<tr>
|
<tr>
|
||||||
<th>任务间隔表达式</th>
|
<th>任务间隔表达式</th>
|
||||||
<th>任务性质</th>
|
<th>任务次数(0 无限制)</th>
|
||||||
<th>任务指令</th>
|
<th>任务指令</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
<input type="text" v-model="time" placeholder="*/1 * * * * *">
|
<input type="text" v-model="time" placeholder="[不可为空]">
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input type="text" v-model="count" placeholder="未设置">
|
<input type="text" v-model="count" placeholder="[不可为空]">
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
<input style="width: 90%" type="text" v-model="commande" placeholder="如: stop">
|
<input style="width: 90%" type="text" v-model="commande" placeholder="如: stop,say Hello,__start__ 等等">
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -45,10 +45,11 @@
|
|||||||
</p>
|
</p>
|
||||||
<p>其他的您基本使用不到,无需学习过多。</p>
|
<p>其他的您基本使用不到,无需学习过多。</p>
|
||||||
<p>
|
<p>
|
||||||
<b>任务性质?</b>
|
<b>任务次数?</b>
|
||||||
</p>
|
</p>
|
||||||
<p>数字 0 代表重复任务,不断执行,直到您手动删除掉它。</p>
|
<p>数字 0 代表重复任务,不断执行,直到您手动删除掉它。</p>
|
||||||
<p>数字大于 0 代表计次任务,代表着执行多少次之后自动删除。</p>
|
<p>数字大于 0 代表计次任务,代表着执行多少次之后自动删除。</p>
|
||||||
|
<p>注意:如果在计次次数未归零前,控制面板被关闭,我们只能重新计次。</p>
|
||||||
<p>
|
<p>
|
||||||
<b>任务指令?</b>
|
<b>任务指令?</b>
|
||||||
</p>
|
</p>
|
||||||
@ -84,7 +85,7 @@
|
|||||||
el: "#NewSchedule",
|
el: "#NewSchedule",
|
||||||
data: {
|
data: {
|
||||||
id: obj.id || "",
|
id: obj.id || "",
|
||||||
time: obj.time || "",
|
time: obj.time || "* * * * * *",
|
||||||
count: obj.count || 0,
|
count: obj.count || 0,
|
||||||
commande: obj.commande || "",
|
commande: obj.commande || "",
|
||||||
servername: servername
|
servername: servername
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<table class='PropertiesList' width="100%">
|
<table class='PropertiesList' width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<th>任务序号</th>
|
<th>任务序号</th>
|
||||||
<th>任务性质</th>
|
<th>任务次数</th>
|
||||||
<th>任务间隔</th>
|
<th>任务间隔</th>
|
||||||
<th>任务指令</th>
|
<th>任务指令</th>
|
||||||
<th>操作</th>
|
<th>操作</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user