Rev 17447 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
23 | reyssat | 1 | |
2 | test=!recordcnt wimshome/$wims_sesdir/examscore.$exam |
||
17468 | guerimand | 3 | !if $wims_exam_remain>0 and ($test<2 or ($test=1 and $allowtype=simulation)) |
15494 | bpr | 4 | job=score |
5 | !exit |
||
23 | reyssat | 6 | !endif |
7 | |||
17468 | guerimand | 8 | !if $activeexo>0 and $replycnt<$exocnt and $confirm_end!=yes and $wims_exam_remain>100 |
15494 | bpr | 9 | !exit |
23 | reyssat | 10 | !endif |
11 | !reset confirm_end |
||
12 | |||
13 | now=!char 1 to 14 of $wims_now |
||
14 | nowtime=$wims_nowseconds |
||
15 | !if $allowtype!=simulation and $wims_user!=supervisor |
||
15494 | bpr | 16 | !appendfile wimshome/log/classes/$wims_class/score/$wims_user.exam $exam -- 0 $nowtime 0 0 0 0 |
23 | reyssat | 17 | !endif |
18 | !sh rm -f $wims_home/log/classes/$wims_class/.parmreg/$wims_user.exam\ |
||
19 | rm -fr $wims_home/$wims_sesdir* |
||
20 | #!if $wims_user=supervisor |
||
21 | # !readdef wimshome/log/classes/$wims_class/supervisor |
||
22 | #!else |
||
23 | # !readdef wimshome/log/classes/$wims_class/.users/$wims_user |
||
24 | #!endif |
||
25 | cutclass=!translate / to , in $wims_class |
||
17447 | guerimand | 26 | !if / notin $wims_class and $wims_class<=9999 |
27 | !! exit for example class |
||
28 | !restart module=adm/class/classes&+job=example |
||
29 | !else |
||
30 | !! exit for normal class |
||
31 | !restart module=home&user=$wims_user,$(cutclass[1]) |
||
32 | !endif |