|
|
|
|
@ -9,18 +9,19 @@
|
|
|
|
|
|
|
|
|
|
<label for="task">실행할 스케쥴러 선택:</label>
|
|
|
|
|
<select id="task">
|
|
|
|
|
<option value="warSync">Get War File from Update Server</option>
|
|
|
|
|
<option value="sinmungoPolling">Sinmungo Xml DB Polling</option>
|
|
|
|
|
<option value="update-war">Get War File from Update Server</option>
|
|
|
|
|
<option value="sinmungo-polling">Sinmungo Xml DB Polling</option>
|
|
|
|
|
<option value="sinmungo-send-answer">Create Xml Target Sinmungo Answer</option>
|
|
|
|
|
<!-- 필요한 스케쥴러 추가 -->
|
|
|
|
|
</select>
|
|
|
|
|
<button id="runSchedulerBtn">스케줄러 실행</button>
|
|
|
|
|
<button id="runSchedulerBtn">실행</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
|
|
<a href="/manual/logs">🪵 로그 보기</a>
|
|
|
|
|
</body>
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"/>
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
|
|
|
<!--<script type="text/javascript" src="/lib/jquery.js"></script>-->
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
@ -36,10 +37,12 @@
|
|
|
|
|
|
|
|
|
|
onEventListener: () => {
|
|
|
|
|
$('#runSchedulerBtn').on('click', function () {
|
|
|
|
|
|
|
|
|
|
console.log("check")
|
|
|
|
|
const taskName = $('#task').val();
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: '/manual/run',
|
|
|
|
|
url: `/menual/${taskName}`,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
data: { task: taskName },
|
|
|
|
|
success: function (res) {
|
|
|
|
|
@ -56,7 +59,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
fn.onEventListener();
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|