engine:sync:setvolumescript
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
engine:sync:setvolumescript [2018/10/19 02:12] – [Example] Scott Cunliffe | engine: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//); | + | '' |
- | string // | + | ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |
- | + | |script| String | |
- | |script| The script to be called for each Volume.| | + | |
<note tip> | <note tip> | ||
$MEDIA-ID, $VOLUME-ID.</ | $MEDIA-ID, $VOLUME-ID.</ | ||
- | ==== Example ==== | + | ===== Example |
- | **SetVolumeScript: | + | Eject all tapes that are being moved. |
- | <sxh> | + | <code> |
- | # | + | |
- | # Eject all tapes that are being moved. | + | |
SetVolumeScript(" | SetVolumeScript(" | ||
+ | </ | ||
- | </sxh> | + | {{tag> import_engine sync_engine}} |
engine/sync/setvolumescript.1539915134.txt.gz · Last modified: 2025/01/21 22:07 (external edit)