Commit 1db6c35e authored by Krzysztof Piwonski's avatar Krzysztof Piwonski
Browse files

Init commit

parents
#!/usr/bin/bash
s3cmd du -H s3://sesar/asterix/IN-GDA/2018/01/ | awk -v date="$(date +%s)" '{print date, "\t", $1}' >> /home/kriestof/s3-usage.txt
[Unit]
Description=S3 disk usage for SESAR bucket
[Service]
Type=simple
ExecStart=/usr/bin/bash /home/kriestof/s3-disk-usage.sh
User=kriestof
[Unit]
Description=S3 disk usage for SESAR bucket
[Timer]
OnCalendar=*-*-* 00:00:00
Persistent=true
Unit=s3-disk-usage.service
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment