Skip to content
Snippets Groups Projects

Joby naplánované na konkrétní čas

Merged Martin Mareš requested to merge mj/schedule-jobs into devel
Files
21
+ 9
9
@@ -85,10 +85,10 @@ create_ss()
--pr-tasks-start $D_START \
--pr-submit-end "$D_DOMACI 23:59" \
--enroll-deadline "$D_ENROLL 23:59" \
--switch-to-grading $(dd "+1 day $D_DOMACI") \
--score-successful-limit 20 --score-advance-limit 20
bin/create-tasks --round $YEAR-$CAT-1 --code $CAT-I-1 \
--name 'Úloha 1' --points 6 --count 6
bin/schedule-round-job --round $YEAR-$CAT-1 --switch-to-grading --time $(dd "+1 day $D_DOMACI")
bin/create-round --year $YEAR --cat $CAT --seq 2 \
--level 4 \
@@ -97,10 +97,10 @@ create_ss()
--ct-submit-end "$D_SKOLNI 14:20" \
--pr-tasks-start $(dt "-1 day $D_SKOLNI 7:00") \
--pr-submit-end "$D_SKOLNI 18:00" \
--switch-to-grading "$D_SKOLNI 19:00" \
--score-successful-limit 10
bin/create-tasks --round $YEAR-$CAT-2 --code $CAT-II-1 \
--name 'Úloha 1' --points 6 --count 3
bin/schedule-round-job --round $YEAR-$CAT-2 --switch-to-grading --time "$D_SKOLNI 19:00"
bin/create-round --year $YEAR --cat $CAT --seq 3 \
--level 1 \
@@ -109,11 +109,11 @@ create_ss()
--ct-submit-end "$D_KRAJSKE 14:20" \
--pr-tasks-start $(dt "-1 day $D_KRAJSKE 7:00") \
--pr-submit-end "$D_KRAJSKE 18:00" \
--switch-to-grading "$D_KRAJSKE 19:00" \
--publish-score
bin/create-tasks --round $YEAR-$CAT-3 --code $CAT-III-1 \
--name 'Úloha 1' --points 6 --count 4
bin/create-contests $YEAR-$CAT-3
bin/schedule-round-job --round $YEAR-$CAT-3 --switch-to-grading --time "$D_KRAJSKE 19:00"
if [ $CAT = A ] ; then
local D_USTREDNI_DEN1=${D[USTREDNI_PONDELI]}
@@ -162,10 +162,10 @@ create_zs()
--ct-tasks-start $D_START \
--ct-submit-end "$D_DOMACI 23:59" \
--enroll-deadline "$D_ENROLL 23:59" \
--switch-to-grading $(dd "+1 day $D_DOMACI") \
--score-successful-limit 20 --score-advance-limit 20
bin/create-tasks --round $YEAR-$CAT-1 --code $CAT-I-1 \
--name 'Úloha 1' --points 6 --count 6
bin/schedule-round-job --round $YEAR-$CAT-1 --switch-to-grading --time $(dd "+1 day $D_DOMACI")
bin/create-round --year $YEAR --cat $CAT --seq 2 \
--level 2 \
@@ -174,12 +174,12 @@ create_zs()
--ct-submit-end $(dt "$L_OKRESNI minutes $D_OKRESNI 10:20") \
--pr-tasks-start "$D_OKRESNI 10:00" \
--pr-submit-end "$D_OKRESNI 18:00" \
--switch-to-grading "$D_OKRESNI 19:00" \
--score-successful-limit $(if [ $CAT = Z9 ] ; then echo 12 ; else echo 9 ; fi) \
--publish-score
bin/create-tasks --round $YEAR-$CAT-2 --code $CAT-II-1 \
--name 'Úloha 1' --points 6 --count $(if [ $CAT = Z9 ] ; then echo 4 ; else echo 3 ; fi)
bin/create-contests $YEAR-$CAT-2
bin/schedule-round-job --round $YEAR-$CAT-2 --switch-to-grading --time "$D_OKRESNI 19:00"
if [ $CAT = Z9 ] ; then
local D_KRAJSKE=${D[${CAT}_KRAJSKE]}
@@ -191,12 +191,12 @@ create_zs()
--ct-submit-end $(dt "$L_KRAJSKE minutes $D_KRAJSKE 10:20") \
--pr-tasks-start "$D_KRAJSKE 10:00" \
--pr-submit-end "$D_KRAJSKE 18:00" \
--switch-to-grading "$D_KRAJSKE 19:00" \
--score-successful-limit 12 \
--publish-score
bin/create-tasks --round $YEAR-$CAT-3 --code $CAT-III-1 \
--name 'Úloha 1' --points 6 --count 4
bin/create-contests $YEAR-$CAT-3
bin/schedule-round-job --round $YEAR-$CAT-3 --switch-to-grading --time "$D_KRAJSKE 19:00"
fi
}
@@ -212,13 +212,13 @@ create_p()
--enroll-mode register --enroll-advert "Programování" \
--ct-tasks-start $D_START \
--ct-submit-end "$D_DOMACI 23:59" \
--switch-to-grading $(dd "+1 day $D_DOMACI 7:00") \
--online-submit
bin/create-tasks --round $YEAR-P-1 --code P-I-1 \
--name 'Úloha 1' --points 10 --type cms --count 2
bin/create-tasks --round $YEAR-P-1 --code P-I-3 \
--name 'Úloha 3' --points 10 --count 2
bin/create-contests $YEAR-P-1
bin/schedule-round-job --round $YEAR-P-1 --switch-to-grading --time $(dd "+1 day $D_DOMACI 7:00")
bin/create-round --year $YEAR --cat P --seq 2 \
--level 1 \
@@ -226,11 +226,11 @@ create_p()
--ct-tasks-start "$D_KRAJSKE 10:00" \
--ct-submit-end "$D_KRAJSKE 14:20" \
--pr-tasks-start $(dt "-1 day $D_KRAJSKE 7:00") \
--pr-submit-end "$D_KRAJSKE 18:00" \
--switch-to-grading "$D_KRAJSKE 19:00"
--pr-submit-end "$D_KRAJSKE 18:00"
bin/create-tasks --round $YEAR-P-2 --code P-II-1 \
--name 'Úloha 1' --points 10 --count 4
bin/create-contests $YEAR-P-2
bin/schedule-round-job --round $YEAR-P-2 --switch-to-grading --time "$D_KRAJSKE 19:00"
local D_USTREDNI_DEN1=$(dd "+3 days ${D[USTREDNI_PONDELI]}")
bin/create-round --year $YEAR --cat P --seq 3 --part 1 \
Loading