Lab 5 Emailing failed logs - JadenGil/Jaden-Tech-Journal GitHub Wiki

Getting Started:

Using this link https://myaccount.google.com/apppasswords?rapt=AEjHL4P5-vSkwXGrW8UlaCr0OqjEtHeztKmhf4K8Mk3_HtSEfzQ8Va2Vdb5HB1f-3LQEBEshx6ArFEx8l0GV0VFNf1A4TMREMrFWTI-78hMwj2mGxZIaXmM I made an app password

Installed ssmpt using:

sudo apt-get update
sudo apt-get install ssmtp

ssmtp configuration file setup:

image

Echo commands:

image

Deliverable 1:

image

Made a file called dbsec.bash:

image

Output:

image

Deliverable 2:

crontab -l output after editing:

image

Deliverable 3:

image