diff --git a/_posts/2014-11-10-admin-command.md b/_posts/2014-11-10-admin-command.md index a53828a..8ff6f18 100644 --- a/_posts/2014-11-10-admin-command.md +++ b/_posts/2014-11-10-admin-command.md @@ -68,3 +68,25 @@ These are checklist admin needs to get done. * `backfill_reviews` -- ทำงานโดยการใส่ review record ไว้สำหรับข้อมูลที่จำเป็นต้องมีการตรวจสอบ * `prefix_filler` -- ใส่เพศให้กับ record ที่ยังไม่มีใช้เพื่อความถูกต้องของข้อมูล Statistics เท่านั้น (เท่าที่คิดออก) +* ตรวจสอบ __in_progress_bit__ + - check_student_issue_in_progress + - check_teacher_issue_in_progress + - backfill_reviews_in_progress + - sub4sum_in_progress + - sub4sum_office_in_progress + + >>> from core import get_system_pref, set_system_pref + >>> get_system_pref('backfill_reviews_in_progress') + >>> set_system_pref('backfill_reviews_in_progress', False) + +* `sub4sum***` commands + - เปิดหน้า `/office/s4sum/` เพื่อให้ `celery` จัดการ + - ใน `shell_plus` + + >>> from office.tasks import preprocessing_sub4sum_office, preprocessing_sub4sum + >>> d = {'year': 2014, 'month': 12} + >>> preprocessing_sub4sum(**d) + 3585 + >>> preprocessing_sub4sum_office(**d) + 343 + >>> \ No newline at end of file diff --git a/handbook.md b/handbook.md index dd56562..7c13dc3 100644 --- a/handbook.md +++ b/handbook.md @@ -2,6 +2,7 @@ layout: page title: "Handbook" date: 2014-12-12 +permalink: /handbook/ tags: ---