WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Task randomly stops running (Read 1502 times)
HermW
YaBB Newbies
*
Offline



Posts: 7
Task randomly stops running
May 10th, 2024 at 7:17pm
 
My organization is running WatchDirectory Control Center version 4.9.5.

What are some things that could cause a task to stop running?

My organization needs a certain folder watch and upload task to be running 24/7. At times, that task stops running and we have not noticed any pattern as to why the task will stop.

Note: WatchDirectory is not running as a service.

Also, is there a feature to send an email notification for errors/warnings ? I poked around the interface and did not see anything.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2378
The Netherlands
Re: Task randomly stops running
Reply #1 - May 11th, 2024 at 7:46am
 
Also, is there a feature to send an email notification for errors/warnings ?
On the "Other" settings of your task you can enter an email address that will receive such notifications.

Did you look at the task history? Right-click the task and select "history" from the popup menu.

If you have trouble finding the reason:
- stop the task
- enable "debug"
- run the task until it stops (and you don't know why)
- before restarting the task, back it up and email me the backup
See this blog with more details about the above:
http://blog-en.gdpsoftware.com/2010/06/send-task-backup-to-support.html
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
HermW
YaBB Newbies
*
Offline



Posts: 7
Re: Task randomly stops running
Reply #2 - May 14th, 2024 at 12:53am
 

I looked at the current task settings and do not see an OTHER option.

Here is the relevant task history from today. Seems like a failed connection attempt. Can the task attempt to rerun itself instead of just stopping upon this failed connection?

2024-05-13 08:43:29.014;I; CONNECTED ERROR: The current connection has been aborted by the network or intermediate services.;;
2024-05-13 08:43:29.015;E;10053: The current connection has been aborted by the network or intermediate services.;;
2024-05-13 08:43:29.016;E;Plugin returned errorcode -1. Error message=10053: The current connection has been aborted by the network or intermediate services. watchDirectory will abort;;
2024-05-13 08:43:29.017;E; Plugin returned errorcode -1. Error message=10053: The current connection has been aborted by the network or intermediate services. watchDirectory will abort;;
Back to top
 
 
IP Logged
 
HermW
YaBB Newbies
*
Offline



Posts: 7
Re: Task randomly stops running
Reply #3 - May 15th, 2024 at 7:45pm
 
Thank you, I found the OTHER tab and the email option.
It would be nice if the job could retry for itself, instead of just going down upon the failed connection and staying down.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2378
The Netherlands
Re: Task randomly stops running
Reply #4 - May 16th, 2024 at 2:09am
 
Hi,

I missed your earlier message, sorry for that.

Make sure, on your FTP settings of your task, set the "Try to connect...." option to a proper value. That may help you out. See picture.
Back to top
 

Untitled.png (4 KB | 55 )
Untitled.png

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
HermW
YaBB Newbies
*
Offline



Posts: 7
Re: Task randomly stops running
Reply #5 - May 28th, 2024 at 8:01pm
 
Thank you Gert.
Is there syntax to allow a failed task to email more than one person? E.g. separate multiple email addresses with semi-colon?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2378
The Netherlands
Re: Task randomly stops running
Reply #6 - May 29th, 2024 at 7:25am
 
Correct - You can enter multiple addresses by separating them with a semicolon ;
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1