Trace:
Differences
This shows you the differences between two versions of the page.
scheduler:log_messages [2024/10/17 10:32] admin created |
scheduler:log_messages [2024/10/17 10:35] (current) admin |
||
---|---|---|---|
Line 10: | Line 10: | ||
If you run your function not as Job via Scheduler, your message will be shown via ''System.out'' in your console output. | If you run your function not as Job via Scheduler, your message will be shown via ''System.out'' in your console output. | ||
- | An example job: | + | An example job: \\ |
- | + | \\ | |
- | + | <html> | |
- | + | <div style="text-align:left;"> | |
- | <code java> | + | <img style="text-align:center;-webkit-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.19);-moz-box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.19);box-shadow: 0px 0px 17px 5px rgba(0,0,0,0.19);" src="/_media/scheduler/job_source.png?tok=9a81c3"/> |
- | JobContext.log("Start to read stream"); | + | </div> |
- | Thread.sleep(10000); | + | </html> |
- | JobContext.log("Read stream after 10000millis"); | + | \\ |
- | </code> | + | |
will show following log message: | will show following log message: |