TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:sync:setvolumescript

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
engine:sync:setvolumescript [2018/10/19 02:12] – [Example] Scott Cunliffeengine:sync:setvolumescript [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 1: Line 1:
-===== SetVolumeScript =====+====== SetVolumeScript ======
  
 Set a script to be called for each of the updated volumes. Set a script to be called for each of the updated volumes.
  
-==== Phase ====+===== Phase =====
  
 This instruction is used by the TapeTrack Synchronization Engine. This instruction is used by the TapeTrack Synchronization Engine.
  
-==== Syntax ====+===== Syntax =====
  
-**SetVolumeScript**(//script//);+''SetVolumeScript(script);''
  
-string //script;// +^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ 
- +|script| String | The script to be called for each Volume.| 1 | 1024 |
-|script| The script to be called for each Volume.|+
  
 <note tip>Before each script is called the engine will resolve the variables $CUSTOMER-ID, <note tip>Before each script is called the engine will resolve the variables $CUSTOMER-ID,
 $MEDIA-ID, $VOLUME-ID.</note> $MEDIA-ID, $VOLUME-ID.</note>
  
-==== Example ====+===== Example =====
  
-**SetVolumeScript: Eject all tapes that are being moved.**+Eject all tapes that are being moved.
  
-<sxh> +<code>
-+
-# Eject all tapes that are being moved.+
 SetVolumeScript("eject $VOLUME-ID"); SetVolumeScript("eject $VOLUME-ID");
 +</code>
  
-</sxh>+{{tagimport_engine sync_engine}}
engine/sync/setvolumescript.1539915134.txt.gz · Last modified: 2025/01/21 22:07 (external edit)