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
Have task to be done after other one is successful (Read 702 times)
kalars3
YaBB Newbies
*
Offline



Posts: 11
Have task to be done after other one is successful
Jul 21st, 2016 at 2:32pm
 
Hello,

I started to test wd in order to implement some of its features and what is catching me off guard is that I need the following:

Basically what it is needed is that here it's wanted to implement that only to start a task after the previous one ends sucessfully (as example, after Uploading to FPT, copy the file to another site only after it is confirmed the upload to the fpt server was successfull).

As well related, is that in some point of the process, I would like to copy files from one folder to another (lets say from A to B), and after the copy is succesfull, to rename the contents of folder A to (as example) *.old; what i see that is done is to rename the copied files (on folder B), but the name on folder A is the original.
I would preffer not to have 2 jobs as the 1st being to copy, then rename (after the copy is successfull).

Thanks in advance.

Edit:
Just in case as I believe I was not clear.
What I want to do is to upload files to a FTP server from a folder A, then after it is sucessfull, copy the files from A to B and after the copy is done, to rename the files from A. but needs to wait until the previous task is completed.
Back to top
 
 
IP Logged
 
Dirk
YaBB Administrator
*****
Offline



Posts: 661
South Germany
Re: Have task to be done after other one is successful
Reply #1 - Jul 21st, 2016 at 3:31pm
 
You can do this with "Subtask plugin", see here:
http://www.watchdirectory.net/wdhelp/plugins/wdopMultiPlugin.html
Back to top
 

Viele Grüße / Best regards
Dirk - GdP Software

dirk [at] gdpsoftware [dot] com
http://blog-de.gdpsoftware.com
Webseite: http://www.gdpsoftware.com
WWW WWW  
IP Logged
 
kalars3
YaBB Newbies
*
Offline



Posts: 11
Re: Have task to be done after other one is successful
Reply #2 - Jul 21st, 2016 at 7:27pm
 
Thanks, though the FTP had to be separated as it needed to monitor a different folder (I seem not be able to make the subtasks to monitor different folders), the rest (making one action after the other is successfull) was fully achieved.

Then again, thanks.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1