View previous topic :: View next topic |
Author |
Message |
Rosetta_itgroup
Joined: 09 Aug 2014 Posts: 13
|
Posted: Thu Sep 11, 2014 2:43 pm Post subject: Get notification on every new file |
|
|
Hello everyone,
I'm new here, i hope i'm publishing on the right category of the forum.
I need your help with something highly important for me.
Our incoming fax's scanned automatically to a network folder, i need somehow to get notified by email on every new file that has been added to the folder and if I can, also to have the ability to add the file's name to the email that will be great.
Can you help me out which test will help me with it and how to do it? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12793 Location: USA
|
Posted: Thu Sep 11, 2014 3:20 pm Post subject: |
|
|
Probably File/Folder Availability test method will work the best
http://ks-soft.net/hostmon.eng/mframe.htm#tests.htm#fileexsts
Use %NewestFile% variable for the test, set "alert when file exists and newer than 5 min" option (5 min just for example, use 5 min test interval as well)
Then setup "Send e-mail" action using %FileName% variable
http://ks-soft.net/hostmon.eng/mframe.htm#actions.htm#macro
But there is a problem - if several files will be created within this interval (e.g. 5 min), HostMonitor will inform you about latest file only.
If you can move files after processing then there is solution, add 2nd action into profile "Execute external program" - start CMD or BAD file and move processed files.
Regards
Alex |
|
Back to top |
|
|
Rosetta_itgroup
Joined: 09 Aug 2014 Posts: 13
|
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Thu Sep 11, 2014 4:43 pm Post subject: |
|
|
Use %NewestFile% instead of filename/filemask.
E.g.
D:\public\_Incoming_Faxes\%NewestFile% |
|
Back to top |
|
|
Rosetta_itgroup
Joined: 09 Aug 2014 Posts: 13
|
Posted: Thu Sep 11, 2014 4:58 pm Post subject: |
|
|
Thank you it worked, I appreciate your help. |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Thu Sep 11, 2014 4:59 pm Post subject: |
|
|
You are welcome. |
|
Back to top |
|
|
|