GithubHelp home page GithubHelp logo

get-partage-logs's Introduction

Logs de PARTAGE

reuse compliant Trigger: Shell Check License: GPL v3

Ce script permet de rapatrier les logs de PARTAGE :

  • télécharge les logs compressés non existants en local
  • télécharge les logs du jour en mode incrémentiel
  • Efface les logs de plus de $MAX_LOG_DAYS jours

Vous pouvez ainsi lancer ce script autant de fois qu'il vous plaira et à la fréquence de votre choix sans risques d'avoir des centaines de gigaoctets transférés. Seul ce qui manque est transféré.

Utilisation

Dépendance

  • lftp 4.8.0 ou +

Configuration

Copiez le fichier config-partage-log-dist en config-partage-log et adaptez les variables à votre environnement.

Contribute

See CONTRIBUTING.md

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License v3.0 or later as published by the Free Software Foundation.

The program in this repository meet the requirements to be REUSE compliant, meaning its license and copyright is expressed in such as way so that it can be read by both humans and computers alike.

For more information, see https://reuse.software/

get-partage-logs's People

Contributors

zeuh avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

get-partage-logs's Issues

Ménage de *log.gz aussi

Hello,

Je crois que la commande de ménage des logs doit être adaptée pour faire le méngae des logs gzippés aussi :
find "${DESTDIR_LOG_NG}" -type f -name "*.log" -mtime +"${MAX_LOG_DAYS}"

Ajout argument pour spécifier fichier de conf

Rebonjour,

Comme on effectue des traitements sur les logs de plusieurs établissements (UR1 et Ecole de Chimie), je trouverai utile d'avoir un argument pour spécifier quel fichier de configuration est utilisé. Ainsi, on peut installer une seule version du code et l'exécuter avec une conf différente pour chaque établissement.

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.