Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


cliseer
2017-12-14T20:11:19Z
Hi!

Does anyone know how to capture standard output of task / job into some sort of log files? on "Main Settings" of "Edit Task", there seem to be an option of "Store standard output", and "Store standard error", but didn't state where the output and error are stored.

Anyone knows?

Thanks a lot!


cli
Sponsor
Forum information
Support
2017-12-14T20:33:55Z
You can use File Notification or File write Task after any other Task. There you can use Variables;

{TASK(PrevTask|StdOut)}

{TASK(PrevTask|StdErr)}

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cliseer
2017-12-14T20:36:48Z
Henrik:

Thanks for the prompt response. I'm not familiar with those codes. I'm using the VisualCron Client 8.2.8, the graphical user interface. Is there a menu item somewhere that show me where the Stdout is dumped to?

I appreciate the help!


cli
Support
2017-12-15T08:18:05Z
All values in VisualCron can be reached through "Variables". And in all fields of VisualCron you can enter Variables to pass data. There is the Variables window where you can find all existing Variables. I recommend the video tutorial  about Variables.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
fritfald
2019-06-13T08:02:21Z
{TASK(PrevTask|StdOut)} , is it possible to show only the first 100 lines somehow?
We have a problem, we send {TASK(PrevTask|StdOut)} in an email and there are 1000 of lines, so I'd like to make it cut off after 100 lines.
barefootguru
2019-06-17T23:19:33Z
You could truncate based on number of characters…

{STRING(Substring|abcdefg|0|4)}

yields abcd

So something like

{STRING(Substring|{TASK(PrevTask|StdOut)}|0|9999)}
Scroll to Top