Page 1 of 1

Sort file at 12:00

Posted: Mon Feb 04, 2013 2:01 pm
by Benoit
Hi all,



I try to sort files after an hour in the day. The easiest way to do this seems to use 'Condition with variables' defined with the date function as in the image:







This doesn't work. So it is a bug, or I made something wrong?



Benoit

Sort file at 12:00

Posted: Sat Feb 09, 2013 12:27 am
by Flow666
What is the output going to now?



What is the condition on the other line?

Sort file at 12:00

Posted: Mon Feb 11, 2013 8:18 am
by manupapet
Hi,



I has same problem and i make this :



- on windows :

with "Task Sheduler" in administrative tools, you lanch this task at 12h00 on a file "move.bat" for example. And fhis file "move.bat" content : "move c:/FolerIn/*.pdf c:/FolderOut/".



- on mac :

with a crontab. The synthax is "mv MacintoshHDD:/*.pdf MacintoshHDD/".



search on google you find.



Emmanuel

Sort file at 12:00

Posted: Mon Feb 11, 2013 10:36 am
by freddyp
On the incoming folder there are several options to set time windows, one of them being time-of-day window. So when you set that to 12:00 and 12:01, this means that flow will only process files between those two time settings. There are also day-of-week and day-of-month windows.



If you want to do something similar somewhere in the middle of a flow, add a "Hold job" element. You will have the same time-window settings on the outgoing connections.



Freddy

Sort file at 12:00

Posted: Mon Feb 11, 2013 12:01 pm
by Benoit
Thanks for all your responses.



We finally use incoming folder to sort files.



The cron was also a solution (script also).



Benoit