![]() | ![]() | ![]() | ![]() | ![]() |
Switch /Sleep:SecondsOk[,SecondsError] |
This is a PPWIZARD command line switch. You can set up your own default switches in the "PPWIZARD_OPTIONS" environment variable or in project files.
This option can be used to pause execution for a period of time after PPWIZARD completes processing normally (OK) or abnormally (ERROR). Used with the "/DependsOn" switch in a simple batch file could be used in place of a CRON step to poll for data file changes.
If you like the sound of this be sure to also check out the "/Template" switch.
By default there is a small delay on error to allow you to see the error in case the ppwizard command is in a larger batch file etc. This delay is removed if /OnError is used (unless this "/sleep" switch has been used).
![]() | ![]() | ![]() | ![]() | ![]() |