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 not working on a Schedule (Read 743 times)
kalars3
YaBB Newbies
*
Offline



Posts: 11
Task not working on a Schedule
Nov 10th, 2016 at 1:30pm
 
Hi all,

I am here making questions again Tongue

So, I have 2 tasks which consist of the following:

T1) Move files older than 30 days from folder "\\Share\Folder" to "\\Share\Folder\OLD" (monitoring the former)

and

T2) Automatically Zip files that enters "\\Share\Folder\OLD" (monitoring said folder)

On configuration I have stated that T1 to do the job between (example times) 18:00-18:20 on Mondays and Thursdays, and T2 to start on same days, but between 18:25-18:45

What I have been seeing is that the jobs have not been working on the schedule.

Not sure if it has something to do with it that T1 works using File Age (and has to pool the folder x amount of time) and T2 I have stated to use the pooling monitor method. But since they are tasks to be done just 2 days a week I think it is not needed to run every day.

Maybe is the job configuration which is needed to change, but I'm not sure.

Thanks in advance for the help Smiley
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Task not working on a Schedule
Reply #1 - Nov 11th, 2016 at 7:23am
 
I think you make it more complex than needed by running 2 tasks.

Why not have 1 task that zips the old files in \\Share\Folder to \\Share\Folder\OLD ?

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
 
kalars3
YaBB Newbies
*
Offline



Posts: 11
Re: Task not working on a Schedule
Reply #2 - Nov 11th, 2016 at 1:11pm
 
Gert wrote on Nov 11th, 2016 at 7:23am:
I think you make it more complex than needed by running 2 tasks.

Why not have 1 task that zips the old files in \\Share\Folder to \\Share\Folder\OLD ?




I could actually, but still, if I would do that, it seem not to go through schedule (or maybe I am not reading correctly the Task History).

As I see that it checks the folder on days where it has not been scheduled.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Task not working on a Schedule
Reply #3 - Nov 12th, 2016 at 6:33am
 
Quote:
As I see that it checks the folder on days where it has not been scheduled


Make sure the option "events outside these periods are ignored" is set.
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
 
kalars3
YaBB Newbies
*
Offline



Posts: 11
Re: Task not working on a Schedule
Reply #4 - Nov 14th, 2016 at 1:33pm
 
Gert wrote on Nov 12th, 2016 at 6:33am:
Quote:
As I see that it checks the folder on days where it has not been scheduled


Make sure the option "events outside these periods are ignored" is set.


Noob mistake on my behalf, thanks Gert, as always very helpfull.

Thank you Smiley
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1