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))};
|
||||
do
|
||||
echo "1" >> /srv/daily-commit/commit-file.txt;
|
||||
cd /srv/daily-commit/;
|
||||
git add *;
|
||||
git commit -m "Commit";
|
||||
git push;
|
||||
done
|
||||
echo "1" >> /srv/daily-commit/commit-file.txt;
|
||||
cd /srv/daily-commit/;
|
||||
git add *;
|
||||
git commit -m "Commit";
|
||||
git push;
|
||||
|
Loading…
Reference in new issue