Much to my surprise, I was able to get a network admin to install the printer in such a way that VisualCron can see it. So, that's great. But now I have a different problem.
My job has 4 tasks:
1. Run a SQL query
2. Write the standard output of the first task appended to a dated file (to log it)
3. Write the standard output of the first task to a temp file
4. Print the temp file.
Back when all I had were the first two tasks, it worked great. I could see the output of the SQL query in the dated file. Now that I have added the other two tasks, I get the following odd behavior:
- tasks 1 and 2 show as having run; tasks 3 and 4 show as never having run
- task 1 has the expected standard output and no standard error output
- task 2, 3, and 4 have no standard output or standard error output
- the temp file (task 3) contains the following, instead of the SQL query output (and the dated file, task 2, contains multiple instances of this as I have rerun the job a few times):
"[Error in SetVariables, string:
NT Notification {DATEFORMAT(M_d_yyyy_h_mm_tt)}
--------------------------------
{TASK(1cdfb3f0-9665-4638-8a38-33c57d993e90,StdOut)}
...........................................................................................................................................................
...........................................................................................................................................................
, err: Array cannot be null.
Parameter name: bytes]"
- finally, the contents of the temp file *were* printed out at my printer (task 4)
Any ideas what is going on?
Thanks,
Rebeccah
P.S. It's always confusing to decipher these error messages (as we had to with an e-mail notification problem last year, too), because the error message is wrapped around my text that the error is referring to. Perhaps this will make it more clear:
"[Error in SetVariables, string:
NT Notification {DATEFORMAT(M_d_yyyy_h_mm_tt)}
--------------------------------
{TASK(1cdfb3f0-9665-4638-8a38-33c57d993e90,StdOut)}
...........................................................................................................................................................
...........................................................................................................................................................
, err: Array cannot be null.
Parameter name: bytes]"
The string referred to in the error message is the string that I used to define the content I wanted to write to the file. It contains two variables, one for the date and one for the standard output from task 1.
Edited by user
2011-02-23T22:15:52Z
|
Reason: Not specified