Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5a37ba0a
authored
Dec 20, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
working on log rotation
parent
10947b80
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
sails/cron/crontab
sails/cron/logrotate.conf
sails/cron/report.sh
sails/cron/crontab
View file @
5a37ba0a
@reboot /home/ubuntu/pictogram/sails/bootstrap.sh
# Let's encrypt certs autorenew
@monthly /home/ubuntu/cron/renewcerts.sh
@monthly /home/ubuntu/
pictogram/sails/
cron/renewcerts.sh
# AWS Volume backups
@daily /home/ubuntu/cron/aws-missing-tools/ec2-automate-backup/ec2-automate-backup.sh -c /home/ubuntu
/cron/cron-primer.sh -v vol-0cd5c496 -k 30 -p -u -r "eu-central-1"
#@daily /home/ubuntu/pictogram/sails/cron/aws-missing-tools/ec2-automate-backup/ec2-automate-backup.sh -c /home/ubuntu/pictogram/sails
/cron/cron-primer.sh -v vol-0cd5c496 -k 30 -p -u -r "eu-central-1"
# Log rotation
@daily /usr/sbin/logrotate /home/ubuntu/pictogram/sails/cron/logrotate.conf
sails/cron/logrotate.conf
0 → 100644
View file @
5a37ba0a
/
home
/
ubuntu
/
pictogram
/
sails
/
logs
/
error
.
json
/
home
/
ubuntu
/
pictogram
/
sails
/
logs
/
debug
.
json
/
home
/
ubuntu
/
pictogram
/
sails
/
logs
/
silly
.
json
/
home
/
ubuntu
/
pictogram
/
sails
/
logs
/
info
.
json
{
size
4
M
rotate
7
dateext
mail
amontejo
@
ujaen
.
es
compress
create
700
ubuntu
ubuntu
postrotate
/
home
/
ubuntu
/
pictogram
/
sails
/
cron
/
report
.
sh
endscript
}
sails/cron/report.sh
0 → 100755
View file @
5a37ba0a
#! /bin/bash
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment