Hi,
I looked at my logfiles, and the log_server20110516.txt is showing:
5/16/2011 12:49:05 PM Debug TcpClient accepted.
5/16/2011 12:49:05 PM Debug Before sending ClientConnection.
5/16/2011 12:49:05 PM Debug Before returning sslStream
5/16/2011 12:49:05 PM Debug New client connected.
5/16/2011 12:49:05 PM Debug Client: 5942572d-2879-4356-bc58-ba2eabdabd97 (10.5.107.16) has disconnected
5/16/2011 12:49:05 PM Debug AuthenticateAsServer, certificate name: CN=vc
5/16/2011 12:49:05 PM Debug Removed handlers for connection.
5/16/2011 12:49:05 PM Debug AuthenticateAsServer doneCN=vc
5/16/2011 12:49:05 PM Debug Entering RemoveConnection.
5/16/2011 12:49:05 PM Debug Waiting for client connection
5/16/2011 12:49:05 PM Debug ConnClass picked up.
5/16/2011 12:49:05 PM Debug ConnClass deactivated.
5/16/2011 12:49:05 PM Debug Connection removed from dictionary.
5/16/2011 12:49:05 PM Debug Before sending ClientConnection.
5/16/2011 12:49:05 PM Debug Connection: 5942572d-2879-4356-bc58-ba2eabdabd97 was removed
5/16/2011 12:49:06 PM Debug Using normal logon (False)
5/16/2011 12:49:06 PM Info User "VisualCron Default Admin" (admin) - Logged in succesfully through Socket (05465016-fb2f-4e61-a731-71ff564aafe6)
5/16/2011 12:49:06 PM Debug Updating login status for: 05465016-fb2f-4e61-a731-71ff564aafe6
5/16/2011 12:49:06 PM Debug Before sending ClientConnection.
5/16/2011 12:49:07 PM Comm IN: SERVERSETTINGSREQ
5/16/2011 12:49:07 PM Comm IN: LICENSEREQ
The log_api20110516.txt doesn't contain any logs for this action and is not touched by my process.
So I can't see anything about my Run method.
---
If I do it again and also have the DeAvtivate statement in there I have this log:
5/16/2011 12:53:18 PM Debug TcpClient accepted.
5/16/2011 12:53:18 PM Debug Before sending ClientConnection.
5/16/2011 12:53:18 PM Debug Before returning sslStream
5/16/2011 12:53:18 PM Debug New client connected.
5/16/2011 12:53:18 PM Debug AuthenticateAsServer, certificate name: CN=vc
5/16/2011 12:53:18 PM Debug AuthenticateAsServer doneCN=vc
5/16/2011 12:53:18 PM Debug Waiting for client connection
5/16/2011 12:53:20 PM Debug Using normal logon (False)
5/16/2011 12:53:20 PM Info User "VisualCron Default Admin" (admin) - Logged in succesfully through Socket (28d57137-2330-4879-aa03-c1a97293b735)
5/16/2011 12:53:20 PM Debug Updating login status for: 28d57137-2330-4879-aa03-c1a97293b735
5/16/2011 12:53:20 PM Debug Before sending ClientConnection.
5/16/2011 12:53:20 PM Comm IN: SERVERSETTINGSREQ
5/16/2011 12:53:20 PM Comm IN: LICENSEREQ
5/16/2011 12:53:22 PM Debug Job (74) was added to processlist: _erik test
5/16/2011 12:53:22 PM Debug Task (82) was added to processlist: download file
5/16/2011 12:53:22 PM Info User "VisualCron Default Admin" - Set task state to: False
5/16/2011 12:53:22 PM Info Task started: download file (82)
5/16/2011 12:53:22 PM Debug Executing HTTP with parameters:
5/16/2011 12:53:28 PM Info Task completed: download file (82)
5/16/2011 12:53:28 PM Debug Setting previous task in TaskProcessCompleted: download file (5c28384e-edaf-4156-818c-77c4764d02d5) in job: _erik test
5/16/2011 12:53:28 PM Debug Process status - About to SendTaskProcess (82)
5/16/2011 12:53:28 PM Debug Process status - About to RemoveTaskProcess (82)
5/16/2011 12:53:28 PM Debug Client: 28d57137-2330-4879-aa03-c1a97293b735 (10.5.107.16) has disconnected
5/16/2011 12:53:28 PM Debug Task (82) was removed from processlist: download file
5/16/2011 12:53:28 PM Debug Removed handlers for connection.
5/16/2011 12:53:28 PM Debug Entering RemoveConnection.
5/16/2011 12:53:28 PM Debug ConnClass picked up.
5/16/2011 12:53:28 PM Debug ConnClass deactivated.
5/16/2011 12:53:28 PM Debug Connection removed from dictionary.
5/16/2011 12:53:28 PM Debug Before sending ClientConnection.
5/16/2011 12:53:28 PM Debug Connection: 28d57137-2330-4879-aa03-c1a97293b735 was removed
5/16/2011 12:53:28 PM Debug Job (74) was removed from processlist: _erik test
5/16/2011 12:53:28 PM Debug Next execution (2) for job '_erik test' is: 12:00:00 AM
5/16/2011 12:53:28 PM Info Job completed: _erik test
5/16/2011 12:53:28 PM Debug Saving Jobs
Now it did work... 😕
---
Again and now use the Activate statement after the task run:
5/16/2011 12:56:27 PM Debug TcpClient accepted.
5/16/2011 12:56:27 PM Debug Before sending ClientConnection.
5/16/2011 12:56:27 PM Debug Entering RemoveConnection.
5/16/2011 12:56:27 PM Debug ConnClass picked up.
5/16/2011 12:56:27 PM Debug ConnClass deactivated.
5/16/2011 12:56:27 PM Debug Connection removed from dictionary.
5/16/2011 12:56:27 PM Debug Before sending ClientConnection.
5/16/2011 12:56:27 PM Debug Connection: e8d9186c-9358-48a2-ba4a-2438745ad9de was removed
5/16/2011 12:56:27 PM Debug Before returning sslStream
5/16/2011 12:56:27 PM Debug New client connected.
5/16/2011 12:56:27 PM Debug AuthenticateAsServer, certificate name: CN=vc
5/16/2011 12:56:27 PM Debug AuthenticateAsServer doneCN=vc
5/16/2011 12:56:27 PM Debug Waiting for client connection
5/16/2011 12:56:29 PM Debug Using normal logon (False)
5/16/2011 12:56:29 PM Info User "VisualCron Default Admin" (admin) - Logged in succesfully through Socket (005257fb-ecb0-416f-8177-b3a9c188463c)
5/16/2011 12:56:29 PM Debug Updating login status for: 005257fb-ecb0-416f-8177-b3a9c188463c
5/16/2011 12:56:29 PM Debug Before sending ClientConnection.
5/16/2011 12:56:29 PM Comm IN: SERVERSETTINGSREQ
5/16/2011 12:56:30 PM Comm IN: LICENSEREQ
5/16/2011 12:56:32 PM Debug Job (75) was added to processlist: _erik test
5/16/2011 12:56:32 PM Debug Task (83) was added to processlist: download file
5/16/2011 12:56:32 PM Info User "VisualCron Default Admin" - Set task state to: True
5/16/2011 12:56:32 PM Info Task started: download file (83)
5/16/2011 12:56:32 PM Debug Executing HTTP with parameters:
5/16/2011 12:56:37 PM Info Task completed: download file (83)
5/16/2011 12:56:37 PM Debug Setting previous task in TaskProcessCompleted: download file (5c28384e-edaf-4156-818c-77c4764d02d5) in job: _erik test
5/16/2011 12:56:37 PM Debug Process status - About to SendTaskProcess (83)
5/16/2011 12:56:37 PM Debug Process status - About to RemoveTaskProcess (83)
5/16/2011 12:56:37 PM Debug Client: 005257fb-ecb0-416f-8177-b3a9c188463c (10.5.107.16) has disconnected
5/16/2011 12:56:37 PM Debug Task (83) was removed from processlist: download file
5/16/2011 12:56:37 PM Debug Removed handlers for connection.
5/16/2011 12:56:37 PM Debug Entering RemoveConnection.
5/16/2011 12:56:37 PM Debug ConnClass picked up.
5/16/2011 12:56:37 PM Debug ConnClass deactivated.
5/16/2011 12:56:37 PM Debug Connection removed from dictionary.
5/16/2011 12:56:37 PM Debug Before sending ClientConnection.
5/16/2011 12:56:37 PM Debug Connection: 005257fb-ecb0-416f-8177-b3a9c188463c was removed
5/16/2011 12:56:37 PM Debug Job (75) was removed from processlist: _erik test
5/16/2011 12:56:37 PM Debug Next execution (2) for job '_erik test' is: 12:00:00 AM
5/16/2011 12:56:37 PM Info Job completed: _erik test
Again a hit!
---
Now a test without the devativate or activate in there:
5/16/2011 12:58:36 PM Debug TcpClient accepted.
5/16/2011 12:58:36 PM Debug Before sending ClientConnection.
5/16/2011 12:58:36 PM Debug Before returning sslStream
5/16/2011 12:58:36 PM Debug New client connected.
5/16/2011 12:58:36 PM Debug AuthenticateAsServer, certificate name: CN=vc
5/16/2011 12:58:36 PM Debug AuthenticateAsServer doneCN=vc
5/16/2011 12:58:36 PM Debug Waiting for client connection
5/16/2011 12:58:37 PM Debug Using normal logon (False)
5/16/2011 12:58:37 PM Info User "VisualCron Default Admin" (admin) - Logged in succesfully through Socket (a05d97ae-ee3f-4dec-821d-773e89e71a14)
5/16/2011 12:58:37 PM Debug Updating login status for: a05d97ae-ee3f-4dec-821d-773e89e71a14
5/16/2011 12:58:37 PM Debug Before sending ClientConnection.
5/16/2011 12:58:38 PM Comm IN: SERVERSETTINGSREQ
5/16/2011 12:58:38 PM Comm IN: LICENSEREQ
Now my task isn't running anymore... donno why I have to put in an extra command to make it work.
Regards
Erik
N.B.
The client settings containing the log folder only contains the log_apiDATE.txt.
The log_serverDATA.txt is in the application installation log folder.
Uses Visualcron since 2006.