daily-commit/commit.py

13 lines
196 B

"""<?php
$a = rand(1,10);
for($b = 0; $b < $a; $b++){
print_r(shell_exec("/srv/daily-commit/commit.sh"));
}
?>"""
import subprocess
subprocess.call("/srv/daily-commit/commit.sh", shell=True)