Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Verify the file availability in last 3 minutes
Topic Summary: How to verify a file is available or not in last 3 minutes
Created On: 01/29/2016 05:08 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 01/29/2016 05:08 AM
User is offline View Users Profile Print this message

Author Icon
SwamiVenkataraman
Student (5-19 posts)

Posts: 13
Joined: 10/15/2015

Hello,

We are using Automate BPA Server 9.0.3.4.

I am using a if condition in a job to check for the file availability in a particular folder for the current day. if file is available then it will write in log file as file is available else it will write as no file avail and goto next step 

I also need to verify if there is any file available in last 3 minutes with respect to timestamp along with current day. I'm not sure how to do that as i new to Automate. 

FYI: File will not have timestamp and format will be samplefile_eod_yyyymmdd.txt. 

Thanks,

Swami



 Category Survey
AutoMate BPA Server 9 version: 9.0.3
Windows version: Windows 7
 01/29/2016 06:45 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Swami,

The provided code grabs files in a folder that are newer than the last 3 minutes.

 Category Survey
AutoMate BPA Server 9 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 2454 guests browsing this forum, which makes a total of 2454 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog