Markus

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • 29th May 2007 at 10:52 pm #14680

    Yeah, this was exactly the problem. I just figured it out, while you were writig.

    Thanks,

    markus

    29th May 2007 at 2:13 pm #14679

    Thanks for your answer. So here is my template:



    # JDL – Job Description language
    # Template file for Muster 5.0, applies to Maya 7.0+ supported engines
    #
    # Basic template declaration, specify job string identifier and unique ID

    DECLARE TEMPLATE
    {

    SET TEMPLATE_NAME “Windows Command”
    SET TEMPLATE_DESC “Perform a windows command”
    SET TEMPLATE_UID 999
    SET TEMPLATE_LOGIC SINGLE
    SET DEFAULT_PRIORITY 1
    SET DEFAULT_POOL “Entire Farm”
    SET MAXIMUM_LICENSES 0
    }

    DECLARE SINGLE
    {

    }

    DECLARE SUBMISSION
    {
    SET ENABLE_ADDITIONAL_FLAGS 0
    ADD THECOMMAND STRING_INPUT “String” “Full Command” ACTIVABLE MANDATORY
    }

    DECLARE ENGINE_WIN
    {
    SET PLATFORM_ENABLED 1
    SET ENABLE_ERROR_CHECK 1
    SET ENABLED_BY_DEFAULT 1
    SET COMMAND_LINE “/c %ATTR(THECOMMAND)”
    SET EXECUTABLE “%ATTR(CMDEXECUTABLE)”
    SET STARTING_FOLDER “c:\”
    SET ENVIRONMENT_BLOCK USER
    SET DETECTION_LOGIC REALPROC

    DECLARE CONFIGURABLE_TAGS
    {
    ADD CMDEXECUTABLE FILE_SELECTOR “c:windowssytem32cmd.exe” “NT Cmd executable” “Specify the NT Cmd executable” NOTACTIVABLE MANDATORY *.exe

    }

    DECLARE CUSTOM_ENVIRONMENT
    {

    }
    }

    DECLARE ENGINE_MAC
    {
    SET PLATFORM_ENABLED 0
    SET ENABLED_BY_DEFAULT 0
    }

    DECLARE ENGINE_LINUX
    {
    SET PLATFORM_ENABLED 0
    SET ENABLED_BY_DEFAULT 0
    }

    DECLARE ERROR
    {
    ADD WARNING “Warning” “Warn”
    ADD ERROR “Error”
    ADD DEFAULT_RETCODE 0
    }



    Works well for me now.
    Just type a usual windows command line like copy c:copyfile.txt c:copyfolder in the “Full Command” box and enter the correct IP for the machine that should perform the command.

    Markus

Viewing 2 posts - 1 through 2 (of 2 total)