Since it is not always 100% obvious whether the JobTracker is already running, it may be that the tracker is run multiple times. This means that the Tracker records and transmits jobs multiple times. This results in duplicate entries in the database and thus increased data garbage.
[x] Query whether the script is already running. If yes: Terminate, If no: Perform all further steps as normal.
Since it is not always 100% obvious whether the JobTracker is already running, it may be that the tracker is run multiple times. This means that the Tracker records and transmits jobs multiple times. This results in duplicate entries in the database and thus increased data garbage.