Differences

This shows you the differences between the selected revisions of the page.

2014-05-20 2014-07-14
reference reconnecttime from batch (martin) 5.6 Bug 1173 Change: Enabling batch mode in scripting automatically limits reconnect time to 120 seconds, if it is not limited yet. (martin)
Line 13: Line 13:
^ Option          ^ Values and description ^ ^ Option          ^ Values and description ^
| ''echo''        | ''%%off|on%%'' \\ Toggles echoing of command being executed. \\ Commands affected: all | | ''echo''        | ''%%off|on%%'' \\ Toggles echoing of command being executed. \\ Commands affected: all |
-| ''batch''      | ''%%off|on|abort|continue%%'' \\ Enables batch mode. In batch mode, any choice prompt is automatically replied and any input prompt is cancelled (after short time interval). \\ In batch mode, it is recommended to set ''confirm'' to ''off'' to allow overwrites. \\ When batch mode is set to ''on'' any choice prompt is automatically replied negatively. Unless the prompt has different default answer (such as default "Reconnect" answer for reconnect prompt), in what case the default answer is used (after short time interval). See also ''reconnecttime'' option below. \\ Value ''abort'' is like ''on''. In addition, the script is aborted, when any script command fails or any choice prompt is replied with "Abort" answer (or similar). \\ When set to ''continue'' any choice prompt is automatically replied with "Skip", "Ignore" or similar answer. \\ Commands affected: nearly all |+| ''batch''      | ''%%off|on|abort|continue%%'' \\ Enables batch mode. In batch mode, any choice prompt is automatically replied and any input prompt is cancelled (after short time interval). \\ In batch mode, it is recommended to set ''confirm'' to ''off'' to allow overwrites. \\ When batch mode is set to ''on'' any choice prompt is automatically replied negatively. Unless the prompt has different default answer (such as default "Reconnect" answer for reconnect prompt), in what case the default answer is used (after short time interval). See also ''reconnecttime'' option below. \\ Value ''abort'' is like ''on''. In addition, the script is aborted, when any script command fails or any choice prompt is replied with "Abort" answer (or similar). \\ When set to ''continue'' any choice prompt is automatically replied with "Skip", "Ignore" or similar answer. \\ Enabling batch mode sets reconnect time (''reconnecttime'' option below) to 120 seconds, if it is not set yet (&beta_feature) \\ Commands affected: nearly all |
| ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' | | ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' |
-| ''reconnecttime''    | ''%%off | <sec>%%'' \\ Sets time limit in seconds to try reconnecting broken sessions. Default value ''off'' removes any time limit. \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' |+| ''reconnecttime''    | ''%%off | <sec>%%'' \\ Sets time limit in seconds to try reconnecting broken sessions. Default value ''off'' removes any time limit. \\ Reconnect time is set implicitly to 120 seconds, when batch mode (''batch'' option above) is enabled (&beta_feature) \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' |
Note that resetting the same option overwrites a previous value, it does not append. Note that resetting the same option overwrites a previous value, it does not append.

Last modified: by martin