4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
page 1 / 1
17 results tagged cron x
  • thumbnail
    GitHub - cronyo/cronyo: The missing cron CLI for AWS Cloudwatch and Lambda
    February 9, 2020 at 10:20:42 AM GMT+1 - permalink - archive.org - https://github.com/cronyo/cronyo
    aws cron lambda
  • willfarrell/crontab - Docker Hub

    alternative to ofelia

    March 23, 2017 at 11:06:06 AM GMT+1 - permalink - archive.org - https://hub.docker.com/r/willfarrell/crontab/
    cron docker
  • thumbnail
    GitHub - jamesrwhite/minicron: Monitor your cron jobs 👨🏻‍💻

    Pour avoir une vue globale des crins qui tournent sur différents serveurs

    February 10, 2017 at 10:12:25 PM GMT+1 - permalink - archive.org - https://github.com/jamesrwhite/minicron
    cron ui
  • Note: cron currency

    cat bin/currency.bash

    !/bin/bash

    Today

    echo -n "Today : "
    curl -s "http://api.fixer.io/latest?symbols=EUR,CHF&base=CHF" | jq '.rates|.EUR'

    Last 10 days

    for i in {1..10}; do
    dc=$(date --date="$i day ago" +%Y-%m-%d)
    echo -n "$dc : "
    curl -s "http://api.fixer.io/${dc}?symbols=EUR,CHF&base=CHF" | jq '.rates|.EUR'
    done

    Lien XE Graphique 1 month ago

    echo "http://www.xe.com/currencycharts/?from=CHF&to=EUR&view=1M"

    December 27, 2016 at 12:21:04 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?x9_68Q
    ch cron currency devise fr
  • thumbnail
    ofelia/README.md at master · mcuadros/ofelia · GitHub
    December 26, 2016 at 12:42:11 PM GMT+1 - permalink - archive.org - https://github.com/mcuadros/ofelia/blob/master/README.md
    cron docker
  • Note: AWS Beanstalk et cron

    On peut avoir besoin de faire tourner un ou plusieurs cron dans un environnement Beanstalk composé de X instances
    Etant donné que toute les instances sont configurées de la meme manière, si on rajoute le cron dans la config, il sera éxecuté sur toutes les instances

    Une solution serait de determiner si on est le "runnner" ou non avant de lancer le cron

    Pour que toutes les instances sachent qui est le runner, on peut imaginer un système comme celui ci :

    • on interroge l'ELB avec les API pour avoir ses backends
    • on trie cette liste de backend
    • le runner est le premier de cette liste
    • si notre ip est égale à celle du runner, on lance le cron

    ça a l'avantage de fonctionner quel que soit le nombre d'instances et ne pas stocker un état (on utilise les infos de l'ELB)

    Et si on ne veut pas faire tourner tous les crons sur le runner, on pourrait déterminer runnner1 runnner2 runner3 etc suivant l'ordre et faire tourner certains crons si on est runner1 ou bien runner2

    December 9, 2016 at 11:13:10 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?fmh_YQ
    aws beanstalk cron elb
  • thumbnail
    GitHub - dcos/metronome: Apache Mesos framework for scheduled jobs
    November 15, 2016 at 11:08:15 AM GMT+1 - permalink - archive.org - https://github.com/dcos/metronome
    cron scheduler
  • thumbnail
    cron.weekly archives - Cron Weekly: a weekly newsletter for Linux and Open Source sysadmins
    March 9, 2016 at 10:48:37 AM GMT+1 - permalink - archive.org - https://www.cronweekly.com/archives/
    archives cron weekly
  • thumbnail
    quoting - How can I execute `date` inside of a cron tab job? - Unix & Linux Stack Exchange

    The "sixth" field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the cronfile. Percent-signs (%) in the command, unless escaped with backslash (), will be changed into newline charac- ters, and all data after the first % will be sent to the command as standard input.

    February 16, 2016 at 10:44:30 AM GMT+1 - permalink - archive.org - http://unix.stackexchange.com/questions/29578/how-can-i-execute-date-inside-of-a-cron-tab-job
    cron crontab date escape
  • Comment filtrer la sortie d'erreur (seulement)

    Prenons un bash qui ouput sur sa sortie standard (stdout) et sur sa sortie d'erreur (stderr) :

    cat test.bash

    echo good
    echo bad >&2
    echo vanish >&2
    echo good!

    Comment faire pour rediriger la sortie standard vers un fichier (ou /dev/null pour l'exemple) et filter la sortie d'erreur pour retirer la ligne "vanish" ?

    Pour ça il faut utiliser un process substitution :

    /root/test.bash 2> >(grep -v vanish >&2) >/dev/null

    Bien pratique dans un crontab pour recevoir un peu moins de mail lorsqu'on a des "erreurs" acceptables (rsync vanished par exemple)

    SHELL=/bin/bash

            • root /root/test.bash 2> >(grep -v vanish >&2) >/dev/null

    Pour en savoir plus sur les process substitution : http://tldp.org/LDP/abs/html/process-sub.html

    November 7, 2014 at 10:16:11 AM GMT+1 - permalink - archive.org - https://links.infomee.fr/?-D0dqQ
    cron crontab indirection redirection rsync stderr stdin vanish
  • Crontab Redirect to Log File With Date in Name

    Bon à savoir, pour rediriger la sortie standard d'un cron dans un fichier avec la date, penser à échapper les "%"

    /path/to/log/dir/$(date +\%Y-\%m-\%d).log

    October 30, 2014 at 11:15:06 AM GMT+1 - permalink - archive.org - http://www.idevelopment.info/data/Oracle/DBA_tips/Unix/UNIX_7.shtml
    cron crontab log logs
  • thumbnail
    Rundeck - ordonnanceur centralisé opensource - vient de sortir sa v2.0

    Tiens tiens ça fait un quelques semaines que je suis à la recherche dune solution similaire! À tester

    September 14, 2014 at 7:26:41 PM GMT+2 - permalink - archive.org - http://blog.admin-linux.org/administration/rundeck-ordonnanceur-centralise-opensource-vient-de-sortir-sa-v2-0
    cron
  • thumbnail
    Chronos: A Replacement for Cron | Airbnb Engineering

    ça a l'air bien ce chronos !

    August 12, 2014 at 5:50:13 PM GMT+2 - permalink - archive.org - http://nerds.airbnb.com/introducing-chronos/
    centralized cron
  • http://pyro.eu.org/how-to/micro/syslog-ng-error-setting-capabilities-openvz.txt

    Pour ne plus que le cron de logrotate gueule sur les vks ovh

    December 2, 2013 at 8:56:19 AM GMT+1 - permalink - archive.org - http://pyro.eu.org/how-to/micro/syslog-ng-error-setting-capabilities-openvz.txt
    cron logrotate vks
  • thumbnail
    python-crontab 1.5.1 : Python Package Index

    Librairie python qui va nous servir pour piclodio2 (https://github.com/Sispheor/Piclodio2)

    Chaque réveil est en fait une ligne dans le cron, avec un commentaire dans lequel on retrouve son id.. Du coup avec cette lib, l'interaction avec le cron va être + simple :-)

    via Nico

    November 29, 2013 at 12:12:00 PM GMT+1 - permalink - archive.org - https://pypi.python.org/pypi/python-crontab
    cron piclodio python
  • thumbnail
    Où trouver les Cron

    crontab -l (pour chaque user) OU ls /var/spool/cron/crontabs/*

    cat /etc/crontab

    for file in $(ls /etc/cron.d); do echo $file && cat $file; done

    for file in $(ls /etc/cron.hourly); do echo $file && cat $file; done
    for file in $(ls /etc/cron.daily); do echo $file && cat $file; done
    for file in $(ls /etc/cron.weekly); do echo $file && cat $file; done
    for file in $(ls /etc/cron.monthly); do echo $file && cat $file; done

    November 5, 2013 at 10:58:37 AM GMT+1 - permalink - archive.org - http://www.cyberciti.biz/faq/linux-show-what-cron-jobs-are-setup/
    cron debian
  • Quartz Scheduler | Performance at Any Scale
    October 24, 2012 at 5:10:00 PM GMT+2 - permalink - archive.org - http://quartz-scheduler.org/
    cron j2e java quartz
Links per page: 20 50 100
page 1 / 1
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation