parent
208f988933
commit
2847398bd6
@ -0,0 +1,8 @@
|
|||||||
|
<?php
|
||||||
|
$a = rand(1,10);
|
||||||
|
|
||||||
|
for($b = 0; $b < $a; $b++){
|
||||||
|
print_r(shell_exec("/srv/daily-commit/commit.sh"));
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
@ -1,8 +1,5 @@
|
|||||||
for i in {1..$((1 + $RANDOM % 10))};
|
echo "1" >> /srv/daily-commit/commit-file.txt;
|
||||||
do
|
cd /srv/daily-commit/;
|
||||||
echo "1" >> /srv/daily-commit/commit-file.txt;
|
git add *;
|
||||||
cd /srv/daily-commit/;
|
git commit -m "Commit";
|
||||||
git add *;
|
git push;
|
||||||
git commit -m "Commit";
|
|
||||||
git push;
|
|
||||||
done
|
|
||||||
|
Loading…
Reference in new issue