脚本任务实现
This commit is contained in:
parent
113e70cab7
commit
a3bef921f7
|
@ -192,6 +192,7 @@ public class DemoGlueJobHandler extends IJobHandler {
|
||||||
</textarea>
|
</textarea>
|
||||||
<textarea class="glueSource_shell" style="display:none;" >
|
<textarea class="glueSource_shell" style="display:none;" >
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "xxl-job: hello shell"
|
echo "xxl-job: hello shell"
|
||||||
|
|
||||||
for item in 1 2 3
|
for item in 1 2 3
|
||||||
|
@ -216,6 +217,7 @@ logging.info('xxl-job: hello python')
|
||||||
for num in range(1, 3):
|
for num in range(1, 3):
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
logging.info('python :' + str(num) )
|
logging.info('python :' + str(num) )
|
||||||
|
|
||||||
logging.info('Good bye!')
|
logging.info('Good bye!')
|
||||||
</textarea>
|
</textarea>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue