from subprocess import call from random import randint for i in range(randint(1,10)): call("/srv/daily-commit/commit.sh", shell=True)