IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2005, 10:29:08 AM (21 years ago)
Author:
eugene
Message:

fixed multicommand to parse subcommands sequentially, added modulus operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/scripts/sched.pro

    r4452 r4462  
    11
    2 controller host localhost
     2# controller host localhost
    33
    44task test
     
    66  periods -poll 1.0
    77  periods -exec 2.0
    8   periods -timeout 2.0
     8  periods -timeout 8.0
    99  # host local
    1010  host localhost
     
    1616
    1717  task.exit 0
    18     echo stdout: $stdout
    19     echo stderr: $stderr
    20     exec echo "foo bar" >> failure.log
    21     output test.log
     18    # note that $stdout/$stderr may contain return characters
     19    # which will interfere with 'exec'
     20    output success.log
    2221    echo $stdout
    2322    output stdout
    24     echo "successful job"
    2523  end
    2624
    2725  task.exit 1
    28     echo stdout: $stdout
    29     echo stderr: $stderr
    30     echo "failed job"
     26    output failure.log
     27    echo $stdout
     28    output stdout
    3129  end
    3230
     
    3634
    3735  task.exit timeout
    38     echo "job timed out"
     36    output timeout.log
     37    echo $stdout
     38    output stdout
    3939  end
    4040end
Note: See TracChangeset for help on using the changeset viewer.