|
@@ -192,12 +192,13 @@ public class DemoGlueJobHandler extends IJobHandler {
|
192
|
192
|
</textarea>
|
193
|
193
|
<textarea class="glueSource_shell" style="display:none;" >
|
194
|
194
|
#!/bin/bash
|
|
195
|
+
|
195
|
196
|
echo "xxl-job: hello shell"
|
196
|
197
|
|
197
|
198
|
for item in 1 2 3
|
198
|
199
|
do
|
199
|
|
-echo "shell : $item"
|
200
|
|
-sleep 1s
|
|
200
|
+ echo "shell : $item"
|
|
201
|
+ sleep 1s
|
201
|
202
|
done
|
202
|
203
|
|
203
|
204
|
echo "Good bye!"
|
|
@@ -216,6 +217,7 @@ logging.info('xxl-job: hello python')
|
216
|
217
|
for num in range(1, 3):
|
217
|
218
|
time.sleep(1)
|
218
|
219
|
logging.info('python :' + str(num) )
|
|
220
|
+
|
219
|
221
|
logging.info('Good bye!')
|
220
|
222
|
</textarea>
|
221
|
223
|
|