Script to standby/shutdown after backup

Discussion in 'Acronis True Image Product Line' started by bcalmac, May 23, 2006.

Thread Status:
Not open for further replies.
  1. bcalmac

    bcalmac Registered Member

    Joined:
    May 23, 2006
    Posts:
    11
    It has already been covered in this forum how to run a TrueImage script from the command line:

    Code:
    TrueImageService.exe /script:"c:\myscript.tis"
    If you want to put your machine in standby after that, you might try:

    Code:
    TrueImageService.exe /script:"c:\myscript.tis"
    psshutdown -d -t 60
    But this would not work because TrueImageService.exe returns immediately. To fix this, ask the command interpreter to wait for the process:

    Code:
    [B]start /WAIT[/B] TrueImageService.exe /script:"c:\myscript.tis"
    psshutdown -d -t 60
     
  2. shieber

    shieber Registered Member

    Joined:
    Oct 27, 2004
    Posts:
    3,710
    What does the command psshutdown belong to? It's not a windows command, afaik.
     
  3. bcalmac

    bcalmac Registered Member

    Joined:
    May 23, 2006
    Posts:
    11
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.