File tree Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Expand file tree Collapse file tree 1 file changed +38
-1
lines changed Original file line number Diff line number Diff line change 1
- job "echoloop " {
1
+ job "echoloop_test " {
2
2
command = " /bin/bash"
3
3
args = [
4
4
" -c" ,
@@ -9,4 +9,41 @@ job "echoloop" {
9
9
stderr = " test_error.log"
10
10
enableTimestamps = true
11
11
timestampFormat = " test"
12
+ }
13
+
14
+ job "echoloop_custom" {
15
+ command = " /bin/bash"
16
+ args = [
17
+ " -c" ,
18
+ " while true ; do echo 'test'; sleep 10; done"
19
+ ]
20
+
21
+ stdout = " test_custom.log"
22
+ stderr = " test_custom_error.log"
23
+ enableTimestamps = true
24
+ customTimestampFormat = " 2006-01-02 15:04:05"
25
+ }
26
+
27
+ job "echoloop_kitchentime" {
28
+ command = " /bin/bash"
29
+ args = [
30
+ " -c" ,
31
+ " while true ; do echo 'test'; sleep 10; done"
32
+ ]
33
+
34
+ stdout = " test_kitchentime.log"
35
+ stderr = " test_kitchentime_error.log"
36
+ enableTimestamps = true
37
+ timestampFormat = " Kitchen"
38
+ }
39
+
40
+ job "echoloop_notime" {
41
+ command = " /bin/bash"
42
+ args = [
43
+ " -c" ,
44
+ " while true ; do echo 'test'; sleep 10; done"
45
+ ]
46
+
47
+ stdout = " test_notime.log"
48
+ stderr = " test_notime_error.log"
12
49
}
You can’t perform that action at this time.
0 commit comments