Differences between revisions 7 and 26 (spanning 19 versions)
Revision 7 as of 2013-01-30 12:12:58
Size: 2350
Comment:
Revision 26 as of 2024-02-28 13:36:56
Size: 3435
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
||<#FFFFAD> [[https://cgi.cse.unsw.edu.au/~give/Student/give.php | Manage Assignments]]<<BR>>~- Web interface for Students<<BR>>classrun [ -give | -check | -collect ]-~||<#FFFFAD> [[https://cgi.cse.unsw.edu.au/~give/Student/sturec.php | View Marks]]<<BR>>~- Web interface for Students<<BR>>classrun -sturec -~|| ||<#FFFFAD> [[https://cgi.cse.unsw.edu.au/~give/Student/give.php | Manage Assignments]]<<BR>>~+`classrun [give|check|collect]`+~||<#FFFFAD> [[https://cgi.cse.unsw.edu.au/~give/Student/sturec.php | View Marks]] ~+`?session=YYsS`+~<<BR>>~+`classrun [YYsS] sturec`+~||
Line 9: Line 9:
   `% 9999 classrun ...`    ~+`% 9999 classrun ...`+~
Line 12: Line 12:
   `% ssss9999 classrun ...`    ~+`% ssss9999 classrun ...`+~
Line 17: Line 17:
   ||<#E0E0E0(-2> From the student's account ||
   ||`classrun -give <assignment> <files>...` || (~- aka -~ `give`) submit assignments ||
   ||`classrun -check <assignment>` || check submissions ||
   ||`classrun -collect <assignment>` || collect marked assignments ||
   ||`classrun -sturec` || view marks (student) ||
   ||<#E0E0E0(-2> From the student's account ||
   ||~+`classrun -give <assignment> <files>...`+~ || submit assignments, commonly seen in this form: <<BR>>~+`give <account> <assignment> <files>...`+~ ||
   ||~+`classrun -check <assignment>`+~ || check submissions ||
   ||~+`classrun -collect <assignment>`+~ || collect marked assignments ||
   ||~+`classrun -fetch <assignment>`+~ || fetch most recent submitted files, put them under fetch-<term>-<account>-<assignment>-<time> ||
   ||~+`classrun [YYsS] -sturec`+~ || view marks (student) ||
Line 23: Line 24:
   ||`classrun -mark` || mark assignments [[http://www.cse.unsw.edu.au/~give/Admindata/tutors/xmark.html|Xmark Quick Start Guide]]||
   ||`classrun -rsms` || enter marks ||
   ||<#E0E0E0(-2> From the class account ||
   ||`classrun -u <studentid>` || be a student, followed by one of the options above ||
   ||~+`classrun -mark`+~ || mark assignments [[http://www.cse.unsw.edu.au/~give/Admindata/tutors/xmark.html|Xmark Quick Start Guide]]||
   ||~+`classrun -rsms`+~ || enter marks ||
   ||<#E0E0E0(-2> From the class account     ||
   ||~+`classrun -u <studentid>`+~ || be a student, followed by one of the options above ||
<<BR>>
 * Examples:
Line 28: Line 31:
 * Examples:
Line 30: Line 32:
   . `% 1911 classrun -give simple simple.c diary.txt`
   . `%
1911 classrun -check simple`
   .
`% engg1811 classrun -collect assign1`
   .
`% binf1001 classrun -sturec`
   . ~+`% 1911 classrun -give simple simple.c diary.txt`+~
     . same as this command: ~+`give cs
1911 simple simple.c diary.txt`+~
   . ~+`% 1911
classrun -check simple`+~
   . ~+
`% engg1811 classrun -collect assign1`+~
   . ~+
`% binf1001 classrun 20T3 -sturec`+~
Line 35: Line 39:
   . `% seng2011 classrun -rsms`    . ~+`% seng2011 classrun -rsms`+~
Line 37: Line 42:
   . `% classrun -u 1234567 -give simple simple.c diary.txt`
   . `% classrun -u 1234567 -sturec`
   . `% classrun -mark`
     . ~- ''the course at the front is optional when running classrun from the class account'' -~
 * To give tutors access to `-mark` and `-rsms`, add their account names to `$WORK/give.spec` under the `&authorisation` directive. e.g.
 {{{
   . ~+`% classrun -u 1234567 -give simple simple.c diary.txt`+~
   . ~+`% classrun -u 1234567 -sturec`+~
   . ~+`% classrun -mark`+~
{{{#!wiki note
'''Note'''

The course code preceding the command is optional when running classrun from the class account
}}}

 * To avoid invoking the GUI with the ~+`sturec`+~ option, unset the ~+`DISPLAY`+~
   e.g. from the class account
   {{{
DISPLAY=; classrun -u 1234567 -sturec
}}}

   e.g. from the student account, (if ~+`DISPLAY`+~ is set)
   {{{
DISPLAY=; 1911 classrun -sturec
}}}

 * To give tutors access to ~+`-mark`+~ and ~+`-rsms`+~, add their account names to ~+`$WORK/give.spec`+~ under the ~+`&authorisation`+~ directive. e.g.
   {{{
Line 44: Line 65:
abc MARK RSMS
xyz MARK RSMS
z7654321 MARK RSMS
z1234567 MARK RSMS
Line 48: Line 69:
 }}} }}}
Line 50: Line 71:
 * Use [[http://www.cse.unsw.edu.au/~give/Admindata/tutors/vnc.html|VNC]] to run `Xmark` and `sms` on your personal computer. These applications run slow using X-windows.  * Use [[http://www.cse.unsw.edu.au/~give/Admindata/tutors/vnc.html|VNC]] or [[https://taggi.cse.unsw.edu.au/FAQ/Really_quick_guide_to_VLAB/|VLAB]] to run ~+`Xmark`+~ and ~+`sms`+~ on your personal computer. These applications run slow using X-windows (Xming etc)
== classrun logs ==
To view the classrun commands used by the students
{{{
priv classrunlog zID
}}}

== Other scripts ==
Scripts can be added to the class account bin directory ~+`$HOME/bin`+~.
To run them
{{{
9999 filename
replacing 9999 with the course code and filename with the name of the script
}}}

classrun

Manage Assignments
classrun [give|check|collect]

View Marks ?session=YYsS
classrun [YYsS] sturec

  • Usage:
    • For COMP courses,

      % 9999 classrun ...

    • For other subject area courses,

      % ssss9999 classrun ...

      where ssss is subject area and 9999 is course number e.g. engg1811, binf1001, seng1031

    • options:

      From the student's account

      classrun -give <assignment> <files>...

      submit assignments, commonly seen in this form:
      give <account> <assignment> <files>...

      classrun -check <assignment>

      check submissions

      classrun -collect <assignment>

      collect marked assignments

      classrun -fetch <assignment>

      fetch most recent submitted files, put them under fetch-<term>-<account>-<assignment>-<time>

      classrun [YYsS] -sturec

      view marks (student)

      From the tutor's or class account

      classrun -mark

      mark assignments Xmark Quick Start Guide

      classrun -rsms

      enter marks

      From the class account

      classrun -u <studentid>

      be a student, followed by one of the options above


  • Examples:
    • From the student's account
    • % 1911 classrun -give simple simple.c diary.txt

      • same as this command: give cs1911 simple simple.c diary.txt

    • % 1911 classrun -check simple

    • % engg1811 classrun -collect assign1

    • % binf1001 classrun 20T3 -sturec

    • From the tutor's account
    • % seng2011 classrun -rsms

    • From the class account
    • % classrun -u 1234567 -give simple simple.c diary.txt

    • % classrun -u 1234567 -sturec

    • % classrun -mark

Note

The course code preceding the command is optional when running classrun from the class account

  • To avoid invoking the GUI with the sturec option, unset the DISPLAY

    • e.g. from the class account
      DISPLAY=; classrun -u 1234567 -sturec

      e.g. from the student account, (if DISPLAY is set)

      DISPLAY=; 1911 classrun -sturec
  • To give tutors access to -mark and -rsms, add their account names to $WORK/give.spec under the &authorisation directive. e.g.

    • &authorisation
      z7654321 MARK RSMS
      z1234567 MARK RSMS
      cs9999 MARK RSMS
      &end
  • Use VNC or VLAB to run Xmark and sms on your personal computer. These applications run slow using X-windows (Xming etc)

classrun logs

To view the classrun commands used by the students

priv classrunlog zID

Other scripts

Scripts can be added to the class account bin directory $HOME/bin. To run them

9999 filename
replacing 9999 with the course code and filename with the name of the script 

Classrun (last edited 2024-02-28 13:36:56 by MeiChengWhale)