Script Function: Supplies the name of the previous restartA restart refers to the repetition of an object's execution. This action differs from a new start in some parts. point in the scriptA particular Automation Engine object type..
SYS_LAST_RESTART_POINT()
Return codes |
---|
Name of the restart point that has last been
run through |
Restart points can be specified by using the script element :RESTART.
In this example, files from the AE directory are saved. The previous restart point is "BIN", which is written to the activation reportA report provides more detailed information about a task's execution or a component..
:RESTART BIN, "Program directory"
COPY C:\AEG\BIN\*.* C:\BACKUP\AEG\BIN\*.* /Y
:INC DOS.ERRORLEVEL
:SET &RET# = SYS_LAST_RESTART_POINT()
:PRINT "Last
restart point: &RET#"
:RESTART DB,
"Database directory"
XCOPY C:\AEG\DB\*.* C:\BACKUP\AEG\DB\*.* /E /Y
:INC DOS.ERRORLEVEL
See also:
Script element | Description |
---|---|
This is used to set restart points in an executable objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task. |
|
Supplies the text of the previous restart point as defined in the script. |
Script Elements - Activation Data
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |