KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Folder/File Availability wildcards

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
doodleman99



Joined: 02 Sep 2008
Posts: 17

PostPosted: Fri Feb 24, 2012 4:52 am    Post subject: Folder/File Availability wildcards Reply with quote

Hi there guys,
I used to run a file check to check that last night's backup was created.

but it now seems to be failing even though the file exists?

it used to check for \\server\share\folder\subFolder\*.bak and alert if the file was older than 12hours

has something changed in a recent update that would affect the use of the wildcard * in my file location?
is there an alternative?

Thanks,
JV
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10405
Location: USA

PostPosted: Fri Feb 24, 2012 5:41 am    Post subject: Reply with quote

Quote:
but it now seems to be failing even though the file exists?

seems to be failing?
What is exactly test Status/Reply? HostMonitor version?

Quote:
it used to check for \\server\share\folder\subFolder\*.bak and alert if the file was older than 12hours

If there are several files in the folder then using "*" is wrong idea because you do not want to check just some "random" file, you want to check newest file, right? Then you should use %NewestFile% variable
\\server\share\folder\subFolder\%NewestFile%

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
doodleman99



Joined: 02 Sep 2008
Posts: 17

PostPosted: Fri Feb 24, 2012 7:42 am    Post subject: Reply with quote

ah!!! perfect!
didnt know about that variable sorry!!!

there are indeed multiple files which is obviously why it's failing..... not sure how/why it worked before?

Many thanks for your speedy(as always) response!!!
keep up the good work!

JV
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10405
Location: USA

PostPosted: Fri Feb 24, 2012 7:58 am    Post subject: Reply with quote

You are welcome

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index