Monitoring folder for incomming files

Discuss Task Sequences and Scripting related issues.

Monitoring folder for incomming files

Postby melvin » Wed Feb 28, 2007 9:39 am

user support request:

We have been experimenting with your "Automize 7" software for some time now and have found it to be very useful for small automated tasks here in the office. We will be purchasing a full working copy soon. However, We now have a new need and I feel confident that your software will be the solution.....but I'm not quite sure as to how to how to make it do what we need to do.

I have attached a PDF that illustrates our new process that is in need of automation.

Will you please open the PDF file and then comment on how your software can help us with automation in the noted areas? Is Automize 7 equipped to do this "out of the box" or will there need to be some custom scripting done in order to achieve this?

Please Note:
This is not moving files to a FTP site nor is it folder synchronization. The basic function needed is for your software to monitor only one folder, and upon the arrival of new files to the "monitored" folder it would then move the files (as indicated in the attached PDF) and after which it should delete the files from the "monitored" folder.
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california

Postby melvin » Wed Feb 28, 2007 9:40 am

You need to use a FileMonitor task, Copy task , Delete task in a chain task
as follows.

1) Filemonitor task
task title = filemon
select option to run task if file date is older than 10 minutes.. this
ensures that you do not copy and delete partial files that may be in the
process of being moved to the folder (if files are big).
task to run field = none

2) Copy task
Filename field = $%filemon::Filenames%$

3) Delete task
Filename field = $%filemon::Filenames%$


4) Chain Task
Step 1 = Filemonitor task
Select option : If exit code > -1 , go to step 100 (exit chain)
(if files are found, exit code = -100, else exit code >= 0)

Step 2 = Copy task
Select option : if exit code > 0, go to step 100 (exit chain, some error
occurred)

step 3 = delete task
melvin
Site Admin
 
Posts: 979
Joined: Thu May 25, 2006 10:20 am
Location: Santa Barbara, california


Return to Task Sequences, Chains and Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron