Name

writeToMarkList — Write to the common file specified by marklist for this particular assignment, suite and run_id run of rst.

Synopsis

writeToMarkList [mark]

Description

The primary purpose of this command is to ensure an atomic write to the marklist in the event that multiple rst instances are running in parallel for the given assignment, suite and run_id combination (which occurs naturally when running distrst, for example).

There are two ways to execute this command from within computeMarks. One is without any command-line parameters; in that case, standard input will be appended to the marklist. If a parameter is supplied, however, it will be interpreted as a mark, and a line of the standard form "student:mark" will be inserted into the marklist.

Topic revision: r1 - 2016-01-11 - YiLee
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback