FYI: It's not possible to have multi-line task commands

Discussion FYI: It's not possible to have multi-line task commands

  • 11 aprilie 2008 16:37
     
     

    The command:

     

      ECHO.%DATE% %TIME%: Line 1

      ECHO.%DATE% %TIME%: Line 2

     

    results in only the first line being executed

     

    This is the case either via the admin console (which certainly gives the impression that we can enter multi-line commands) or programmatically using the ISchedulerTask interface.

     

    Andy

Toate mesajele

  • 11 aprilie 2008 18:25
    Moderator
     
     

     

    Andy,

    I'll bring these up with Dev.  It took some work to get things like this working in v1, and it appears we've broken it in v2.

     

    In the meantime, if you go the Admin Console you can do:

     

    ECHO.%DATE% %TIME% && ECHO.%DATE% %TIME%

     

    And that should work.

     

    Thanks,
    Josh