Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- itc_username=some_username
- itc_password=some_password
- itc_account=12345678
- yesterday=`date -v-1d +"%Y%m%d"`
- if [ "$1" == "" ]; then
- echo downloading file for yesterday: $yesterday
- java Autoingestion $itc_username $itc_password $itc_account Sales Daily Summary $yesterday
- else
- echo downloading file for: $1
- java Autoingestion $itc_username $itc_password $itc_account Sales Daily Summary $1
- fi
- gunzip *.gz
Add Comment
Please, Sign In to add comment