qiaozhanwei
4 years ago
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||||||
|
package org.apache.dolphinscheduler.api; |
||||||
|
|
||||||
|
import java.io.FileWriter; |
||||||
|
import java.io.Writer; |
||||||
|
import java.text.SimpleDateFormat; |
||||||
|
import java.util.Date; |
||||||
|
|
||||||
|
public class Demo { |
||||||
|
|
||||||
|
public static void main(String[] args) throws Exception{ |
||||||
|
Writer writer = new FileWriter("D:\\demo.txt"); |
||||||
|
|
||||||
|
for (int i = 0 ; i < 3000; i++){ |
||||||
|
writer.append("echo 日志打印测试" + (i+1) + "\r\n"); |
||||||
|
} |
||||||
|
writer.close(); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue