Follow these guidelines when you define post-stop commands:
Commands are scheduled asynchronously and TOM does not wait to process return codes.
You can specify that TOM schedules each post-stop command multiple times by using the Interval and Max count fields. TOM schedules the commands by using the values set in these fields before proceeding to the next post-stop command.
If you specify a post-stop command that does not exist or causes an error condition, TOM ignores the error and continues scheduling this command until the total number of times exceeds the value specified in the Max count field.
You can use variables.
You can specify schedule dependencieso control when TOM issues the command.