- 'APPLICATION_ENV=production'
- 'LOG=/var/www/log/cron/users.mark.unused.log'
description: users mark unused
+ log_analysis:
+ ensure: 'present'
+ user: deploy.spk
+ command: 'echo >> $LOG; date >> $LOG; /home/deploy.spk/swatch/log_analysis >>$LOG 2>&1'
+ minute: '0'
+ hour: '6'
+ environment:
+ - 'APPLICATION_ENV=production'
+ - 'LOG=/var/www/log/cron/log.analysis.log'
+ description: log analysis
\ No newline at end of file
- 'X-Forwarded-For 192.168.15.17 self_ip_range'
- 'X-Forwarded-For 192.168.15.18 self_ip_range'
- 'X-Forwarded-For 192.168.15.19 self_ip_range'
-# - 'Remote_Addr 80.146.239.2 admin_ip_range'
-# - 'Remote_Addr 109.86.229.215 admin_ip_range'
-# - 'Remote_Addr 130.180.83.190 admin_ip_range'
-# - 'Remote_Addr 195.69.134.114 admin_ip_range'
-# - 'Remote_Addr 62.181.145.202 admin_ip_range'
-# - 'Remote_Addr 195.140.123 admin_ip_range'
-# - 'Remote_Addr 195.140.44 admin_ip_range'
-# - 'Remote_Addr 62.181.145 admin_ip_range'
-# - 'Remote_Addr 62.181.146 admin_ip_range'
-# - 'Remote_Addr 192.168.15.16 self_ip_range'
-# - 'Remote_Addr 192.168.15.17 self_ip_range'
-# - 'Remote_Addr 192.168.15.18 self_ip_range'
-# - 'Remote_Addr 192.168.15.19 self_ip_range'
error_documents:
- { error_code: 401 , document: "/401.html" }
- 'APPLICATION_ENV=production'
- 'LOG=/var/www/log/cron/users.mark.unused.log'
description: users mark unused
+ log_analysis:
+ ensure: 'present'
+ user: deploy.spk
+ command: 'echo >> $LOG; date >> $LOG; /home/deploy.spk/swatch/log_analysis >>$LOG 2>&1'
+ minute: '0'
+ hour: '6'
+ environment:
+ - 'APPLICATION_ENV=production'
+ - 'LOG=/var/www/log/cron/log.analysis.log'
+ description: log analysis