Giter Club home page Giter Club logo

auto_login_moodle's Introduction

auto_login_moodle

Java Programm das mit hilfe des Users und Passwortes gestartet werden kann und sich auf eine Moodle Webseite einloggt.

Und die Zeiterfassung startet. Ich habe es getestet auf einem Debian Bullseye minimal installation, während der installation hatte der rechner 1024mb ram und danach auf 512 mb runtergesetzt.

Installation

Nach der minimal Installation von debian sollte mit folgendem befehl das Installationsscript heruntergeladen werden.

wget https://raw.githubusercontent.com/mbaumgae81/auto_login_moodle/master/install.sh

Und anschlißend mit root rechten, das script starten.

sh ./install.sh

Was macht das Installationsscript ?

Das Debian System wird auf den aktuellen stand gebracht und lädt die nötigen Java dateien herunter. Anschließen wird die Login.jar ins Programmverzeichnis /opt/login heruntergeladen.

Dort werden auch die Login.sh und die Logout.sh mit euren im Scribt eingegebenen Credentials angelegt (falls sich etwas mal ändert).

opt_ordner

login_out

Anschließend wird in der crontab noch zwei zeilen zugefügt. in der Abbildung login 8:30 logout 16:30 Die ausgaben werden nach /var/log/jaav.log geleitet (wo man sehen kann was passiert ist ).

crontab

auto_login_moodle's People

Contributors

mbaumgae81 avatar

Stargazers

Dennis S. avatar

Watchers

 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.