Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:installationguide:basic-robots [2012/04/29 20:07]
gradator [Automatically run the bots]
doc:installationguide:basic-robots [2012/10/14 20:30]
laurent Add the section logrotate vhffs.log
Line 48: Line 48:
 <​note>​If ionice is not available on your system, remove the ionice part, but you should really use it, especially for the stats bot which is doing a lot of I/​O.</​note>​ <​note>​If ionice is not available on your system, remove the ionice part, but you should really use it, especially for the stats bot which is doing a lot of I/​O.</​note>​
  
-<​note>​bots_night is running ​in this example at 03:05, this is to deal with the daylight saving time (DST) in CET/CEST (here) which change from 02:00 to 03:00 in spring and from 03:00 to 02:00 in winter. If bots_night were set to run between 02:00 and 03:00, it would be executed 2 times during the move from CEST to CET and not executed at all during the move from CET to CEST.</​note>​+<​note>​bots_night is set to run in this example at 03:05, this is to deal with the daylight saving time (DST) in CET/CEST (here) which change from 02:00 to 03:00 in spring and from 03:00 to 02:00 in winter. If bots_night were set to run between 02:00 and 03:00, it would be executed 2 times during the move from CEST to CET and not executed at all during the move from CET to CEST.</​note
 + 
 + 
 +==== Logrotate the bot log file ==== 
 + 
 +Bots log their activities in /​var/​log/​vhffs.log by default. 
 + 
 +In order to keep this log file ease to use create a logrotate script which is going to automatically rotate, compress and remove the log file.  
 + 
 +Edit /​etc/​logrotate/​logrotate.d/​vhffs,​ here is an example: 
 +<​code>​ 
 +/​var/​log/​vhffs.log { 
 +    weekly 
 +    rotate 52 
 +    compress 
 +    missingok 
 +    notifempty 
 +    create 0640 root root 
 +
 +</code>
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki