Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
586 B
1
Indexable
Never
#!/bin/sh
source /home/CAPEUSER/Python/venv/CAPEAIML/bin/activate
cd /home/CAPEUSER/Python/CAPE_SYSLOG_INTEGRATION/Code/

EDATEV=`date +"%Y-%m-%d %H:%M:%S"`
echo "Syslog Data Transfer started at $EDATEV ==================================================" >> /home/CAPEUSER/Python/logs/dataflow_syslog_transfer_script.csv
python Dataflow_syslog_transfer_with_logging.py
deactivate
EDATES=`date +"%Y-%m-%d %H:%M:%S"`
echo "syslog data transfer ended at $EDATES =================================================="  >> /home/CAPEUSER/Python/logs/dataflow_syslog_transfer_script.csv