Hi,
Today I have an issue with a job and file write notifications on his tasks.
The file notification, named: 'TAAK log naar f:\jobs\log\[jobnaam].txt', writes to this file:
{JOB(Active,Name)}-{DATEFORMAT(yyyyMMdd)}.txt
And the body is:
{TASK(Active,Name)}
Result: {TASK(Active,Result)}
Last run: {TASK(Active,LastRun,M/d/yyyy h:mm:ss.ff tt)}
Last exited: {TASK(Active,LastExited,M/d/yyyy h:mm:ss.ff tt)}
Execution time: {TASK(Active,ExecutionTime)} seconds
------------------------------------------------------------------------------------------------------------------
Output:
{TASK(Active,StdOut)}
---------------
Error output:
{TASK(Active,StdErr)}
------------------------------------------------------------------------------------------------------------------
This notification is bound to the notify on complete of the tasks.
It will end as a logfile with the job name and all the task information.
😎
The job had three tasks: 1) copy file, 2) copy file, 3) rename file.
Every task had the notification.
I deleted task 2 and 3 so I have now just one task in the job.
Now when my job is triggerd by a file trigger I see in my log file the file notification of task 1 AND 2. There is no 2nd task anymore
I checked the log from VisualCron and I see the name of the deleted task in there. It is still running..
😕 😕 😕
The deleted 2nd task is
COPY TO TEMP:
4/2/2012 2:50:40 PM Debug Calling GetNextTaskProcess()
4/2/2012 2:50:40 PM Debug Next Task is: COPY TO TEMP
4/2/2012 2:50:40 PM Debug Next action: ActionContinue
4/2/2012 2:50:40 PM Debug Calling StartTaskProcess() with Task: COPY TO TEMP
4/2/2012 2:50:40 PM Debug Task (673295) was added to processlist: COPY TO TEMP
4/2/2012 2:50:40 PM Debug Running File Notification: 'TAAK log naar f:\jobs\log\[jobnaam].txt'
4/2/2012 2:50:40 PM Info Task started: COPY TO TEMP (673295)
4/2/2012 2:50:40 PM Debug Process status - process has already exited at WaitForExit
4/2/2012 2:50:40 PM Debug Exception was ignored due to OnError setting (NoFilesCopied), ex: No file(s) copied
4/2/2012 2:50:40 PM Info Task completed: COPY TO TEMP (673295)
4/2/2012 2:50:40 PM Debug Process status - About to RemoveTaskProcess (673295)
4/2/2012 2:50:40 PM Debug Setting previous task in TaskProcessCompleted: COPY TO TEMP (088a4a45-ea8f-4785-9b55-909b5c3167cc) in job: 1. VertrekkendeClient_xxx-to-xxx
Here is the log from my file notification:
------------------------------------------------------------------------------------------------------------------
xxx-to-xxx
Result: Success
Last run: 4/2/2012 2:50:40.57 PM
Last exited: 4/2/2012 2:50:40.63 PM
Execution time: 0.07 seconds
------------------------------------------------------------------------------------------------------------------
Output:
\\xxx\xxx\xxx\xxx.txt -> \\xxx\xxx\xxx\xxx.txt OK
---------------
Error output:
------------------------------------------------------------------------------------------------------------------
COPY TO TEMP
Result: Success
Last run: 4/2/2012 2:50:40.69 PM
Last exited: 4/2/2012 2:50:40.73 PM
Execution time: 0.04 seconds
------------------------------------------------------------------------------------------------------------------
Output:
---------------
Error output:
I restarted the client to see if there is an issue with the client.
Client is not showing the 2nd task anymore and I am sure I deleted two tasks.
I'm flabbergasted.
Regards
Erik
Edited by user
2012-04-05T09:15:05Z
|
Reason: added extra info
Uses Visualcron since 2006.