Badge issuer scripts

In addition to manually granting a badge in the web interface, and the messages consumer granting badges, the third way badges are granted are by a collection of scripts that live on the badges-backend01 server.

These scripts run periodically using cron, and are used for badges that aren’t triggered by an incoming message on the messaging bus.

A good example of this is the “lifecycle” badges, that award people for having a Fedora Account for a period of time. There is no message sent when a Fedora Account turns a certain age, so this is done using a script.