Skip to content

Commit

Permalink
I had enough for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bigos committed Aug 28, 2012
1 parent b2833cf commit bb28a2e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Ruby/force_requests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ def day_log()
touch_log_files()
end

10.times do
7.times do
day_log()
`sudo cp /var/log/apache2/sample_file.txt /var/log/apache2/my_access.log`
`sudo logrotate -v -f ./logrotate_apache2.txt `
end
70.times do
day_log()
`sudo cp /var/log/apache2/sample_file.txt /var/log/apache2/my_access.log`
`sudo logrotate -v -f ./logrotate_apache2.txt `
`sudo logrotate -v -f ./logrotate_apache3.txt `
end

0 comments on commit bb28a2e

Please sign in to comment.