Giter Site home page Giter Site logo

moodle_login's Introduction

moodle_login

初期設定

login_url = "ログインページのURL"

login_info= [["コースページのURL", "出席ボタンのURL", "自動出欠ページのURL", "ログイン時間", "曜日", "ログファイルの名前"]]

※login_infoの詳細は下を参照

実行

nohup python3 moodle_login.py &

(サーバーでsshから実行する場合はタイムアウトしてプロセスが終了してしまうため、バックグラウンド実行が必要。終了はkillコマンドで。)

終了

kill 1290847 (実行時に表示される番号がプロセスID)

image

ps aux (実行中のタスク一覧)

login_info 詳細

(例)

login_info= [["https://moodle.s."YOUR Univ.".ac.jp/course/view.php?id=50835", "https://moodle.s."YOUR Univ.".ac.jp/blocks/autoattend/semiautoattend.php?course=50835&attsid=535970", "https://moodle.s."YOUR Univ.".ac.jp/blocks/autoattend/semiautoattend.php", ["16:41", "16:43", "16:45", "16:50", "16:54", "17:10"], "tuesday", 'log_dhizitaru.txt'],

          ["https://moodle.s."YOUR Univ.".ac.jp/course/view.php?id=50807", "", "", ["10:31", "10:32", "10:33", "10:34", "10:35", "10:44"], "thursday", 'log_jouhouriron.txt'],
        
          ["https://moodle.s."YOUR Univ.".ac.jp/course/view.php?id=51011", "", "", ["13:00", "13:01", "13:02", "13:03", "13:04", "13:05"], "tuesday", 'log_kakuritu.txt'],
        
          ]
※コースページにアクセスするだけでよい場合は残りの2つは""で良い

image

moodle_login's People

Contributors

shima1203 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.