Daily Shaarli

All links of one day in a single page.

September 4, 2021

Free Multi-color Illustrations for Commercial Use | Scale

with mask-compatible icons

How to ensure a cron job runs exclusively · Fazal Majid's low-intensity blog

Only one same job at a time ?

My solution to deal with this is to bind an IPv6 localhost ::1 socket to a given port. Only one process can do this, and thus it’s a very effective mutex. No lock files to cause havoc, no dealing with the dark and buggy corners of advisory file locking.

For shell scripts, simply replace the #!/bin/sh with #!/somewhere/bin/lock 2048 where 2048 is the port number you will use to enforce the lock (greater than 1024 if you do not want to deal with the hassles of privileged ports).

Les voyages en train seront gratuits pour les policiers à partir de 2022, annonce Gérald Darmanin

Et dans le même temps, on nous répète que les avantages des cheminots coûtent très cher...

C'est contradictoire !

La température du corps humain a baissé

36.6°C est la référence, et non 37°C.

Les raisons de l'évolution des températures corporelles ne sont pas expliquées précisément par les scientifiques, même si les hypothèses tournent autour de l'amélioration de l'hygiène de vie et de la réduction des maladies inflammatoires.