Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
DX Unified Infrastructure Management
Private Community
View Only
Community Home
Threads
56.1K
Library
2.4K
Events
2
Members
1.2K
Back to {0}
Dirscan and file age
Thread closed by the administrator, not accepting new replies.
Add a tag
x
User Tags may not contain the following characters: @ # $ & :
Kevin Nelson
posted Mar 18, 2021 07:32 AM
I would like to use dirscan to check for the age of a file in a directory. I only need it to do that once a day but the schedule option does not appear to be working. Is it possible to schedule when dirscan can run a check?
Thank you
Garin Walsh
posted Mar 18, 2021 11:06 AM
It should work. Here's an example that runs once daily at 4:00am
<NisCacheSched>
type = Recurring Event
time_type = once
updated = yes
recurrent_event_spec = RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=04;BYMINUTE=00;BYSECOND=00
</NisCacheSched>
Pretty much all the probes that have a schedule option use the iCalendar format specification. So, many times you will be unable to specify the desired pattern in the GUI but you can generally manually create the string (there are a bunch of tools on the web to create the string) and supply that using raw configure. Note that it is likely that the string will get replaced/corrupted/updated any time you use the GUI subsequently to edit the configuration but that's a small price to pay if you need it. It's also an open question if the probe will react correctly to the non-nimsoft-standard string but try it in test to see.
Kevin Nelson
posted Apr 08, 2021 10:53 AM
Thanks Garin, will look at this, just one thing in the top right hand of the probe configuration screen there is an option of schedule but no options in the drop down to select, I assumed this was where a schedule should be configured.
Thank you
Garin Walsh
posted Apr 08, 2021 11:06 AM
Schedules are defined on the "Setup" page - reach that via the left most icon with the red check marks on it.
Kevin Nelson
posted Apr 08, 2021 11:10 AM
Thanks Garin, not sure how I missed that, thanks again
Garin Walsh
posted Apr 08, 2021 11:16 AM
Yea, you'd think that having one of the options in that schedule dropdown be "Add New..." might have been a simple and well received enhancement.
Copyright 2019. All rights reserved.
Powered by Higher Logic