TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:addrepositoryonmovedate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
engine:sync:addrepositoryonmovedate [2018/08/14 17:11] – created dcummingengine:sync:addrepositoryonmovedate [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-addrepositoryonmovedate+====== AddRepositoryOnMoveDate ======
  
-==== AddRepositoryOnMoveDate ==== +Add Target Repository based upon the value of the Next Move Date. 
-Add Repository based upon the value of the Next Move Date.+ 
 +===== Phase =====
  
-==== Phase ==== 
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
-==== Special Considerations ====+<note tip>If a matching entry is found for AddRepositoryOnMoveDate the [[engine:sync:addrepositoryonwritetime|AddRepositoryOnWriteTime]] (if any) will not be checked.</note>
  
-<note tip>If a matching entry is found for AddRepositoryOnMoveDate the AddRepositoryOnWriteTime (if any) will not be checked.</note>+===== Syntax =====
  
-==== Syntax ==== +''AddRepositoryOnMoveDate(current_repository, range, target);'' 
-AddRepositoryOnMoveDate(currentrepository, range, target); + 
-//string currentrepository;//\\ +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
-//string range;//\\ +|current_repository| String | Current Repository Filter.|1|256
-//string target;//\\ +|range| String | Range of Move Dates.|1|30
-|currentrepository| Current Repository Filter.| +|target| String | Target Repository value.|1|4| 
-|range| Range of Move Dates.| + 
-|range| Target Repository value.| +===== Example ===== 
-==== Example ==== + 
-**AddRepositoryOnMoveDate: Move Volumes to RACK if their Move +Move Volumes to RACK if their Move Date is between today to 10 days from today. 
-Date is today to 10 days from today.**+<code>
 AddRepositoryOnMoveDate("*", "*:*+10", "RACK"); AddRepositoryOnMoveDate("*", "*:*+10", "RACK");
 +</code>
 +
 +===== See Also =====
 +
 +[[engine:import|Import Engine Functions]] \\
 +[[cli:sync_fields|Sync Engine Fields]] \\
 +[[cli:tmss10sync|TMSS10Sync]]
 +
 +{{tag> import_engine sync_engine}}
engine/sync/addrepositoryonmovedate.1534266714.txt.gz · Last modified: 2025/01/21 22:07 (external edit)