Ubuntu UFW – Uncomplicated Firewall

Ensure you are firewalled: root@MikroDroplet:/home/mikrodots# apt-get install ufw Reading package lists… Done Building dependency tree Reading state information… Done ufw is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. root@MikroDroplet:/home/mikrodots# ufw allow 22/tcp Rules updated Rules updated (v6) root@MikroDroplet:/home/mikrodots# ufw enable Command may disrupt existing ssh connections.[…]

Root Cron to run Python

I was having some issues with a cron job I created as root using crontab -e the entry was: */15 * * * * /path/to/file.py After ripping my hair out overnight (Troubleshooting tips): tail /var/log/cron (checks if it is running) add a line to your crontab: MAILTO=”you@domain.com” – will email you debugging info Here’s the[…]