Essentially, that gets todays date in a specific format for a directory name. Its the same as doing an "ls" on that path and seeing if it exists, except the shell will interpret the `date +%Y-\%m-\%d` portion and return the date in that format.
Is this possible within the context of a file dependency?
You can use the Tidal System Date variable to accomplish this. Click the Variables button, System Variables, System Date, Date Format. This will insert the system date when Tidal starts the new scheduled day. This is probably at midnight, but if you have an offset schedule this could be at another time. The important thing to remember is the date is when the current day's schedule goes live, not the date when the job's dependencies are met.
You can also use the System Variable, Production Date, Date Format if you use an offset schedule. This will use the Production Date associated with the offset calendar. For example, if you have offset your schedule to start at 8am and the current date at 8am is 10/28, then the production date is 10/28 from 8am today until 7:59:59am tomorrow.
Here are some commonly asked questions and answers to help with your adoption of Cisco ACI solution. Subscribe to this post to stay up-to-date with the latest Q&A and recommended Ask the Experts (ATXs) sessions to attend.