Created
October 14, 2015 11:57
-
-
Save giovino/63e123b0dd1e1afe3b2f to your computer and use it in GitHub Desktop.
pycif lastday work around
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ONE_DAY_AGO=`date --date="24 hours ago" +"%Y-%m-%dT%H:%M:%SZ"` | |
NOW=`date +"%Y-%m-%dT%H:%M:%SZ"` | |
/usr/local/bin/cif --asn=87 --reporttime=$ONE_DAY_AGO --reporttime-end=$NOW |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have done some thing similar : )
thanks again.