Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Automatic run a windows script when a file is added to a windows folder

$
0
0
Hi all Windows scripting experts

I have a question how to set up auto-start of a batchscript on Windows 2008.

Example description:
We recieve a file from the CRM-system with general ledger (GL) transactions every evening that is later loaded into the ERP system (IFS Applications). Usually is this process followed.

1. An Oracle package/procedure (in the CRM-system) stores GL files in folder "CRM_GL_FILES" on a file server every evening at 1830.
2. A Windows .bat script to rename the files to a fix naming standard runs every evening at 1900 using Windows scheduled tasks.
3. A scheduled job in IFS Applications loads the GL files in folder "CRM_GL_FILES" starting 1915.

Usually this process works fine, but some times is the Oracle package/procedure in the CRM-system is delayed and GL-files are stored in folder "CRM_GL_FILES" later than 1900. Further automation of this process is required.

Is it any function in Windows 2008 to automatic run the rename bat-script when GL-files are loaded to folder "CRM_GL_FILES"?

All suggestions and tips are welcome.

Thanks in advance.

Best regards

Gunnar B Melby
System Manager
Energiselskapet Buskerud, Norway

Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>