Category Archives: Tips/Code Snippets

Why Systemd Timers Outshine Cron Jobs

For decades, cron has been the trusty workhorse for scheduling tasks on Linux systems. Need to run a backup script daily? cron was your go-to. But as modern systems evolve and demand more robust, flexible, and integrated solutions, systemd timers … Continue reading

Posted in FLOSS, Tips/Code Snippets | Tagged , , , , , | Leave a comment

Is crontab not a shell script….really?

While trying to figure out an error, I found the following line in one of the crontab files and I could not stop myself from smiling. PATH=$PATH:/opt/mysoftware/bin And that single line perfectly encapsulated the misconception I want to address today: … Continue reading

Posted in Automation, Tips/Code Snippets | Tagged , | Leave a comment

Using Telegram for Automation Using Python Telethon Module

Telegram is a cloud based messaging application which provides an excellent set of APIs to allow developers to automate on top of the platform. It is increasingly being used to automate various notifications and messages. It has become a platform … Continue reading

Posted in Automation, Programming, Tips/Code Snippets | Tagged , , , | 1 Comment

Upgrading Raspbian 8 (Jessie) to Raspbian 9 (Stretch)

I decided to upgrade my oldest Raspberry Pi to the latest Raspbian. Since I was two releases behind, I decided to do it step-by-step. Today I updated from 8 – 9. I plan. to perform similar steps to upgrade 9 … Continue reading

Posted in FLOSS, RaspberryPi, Tips/Code Snippets | Tagged , | Leave a comment

Raspberry Pi – rsyslog fixes on Raspbian 8 (Jessie)

One of my Raspberry Pi (Raspberry Pi Model B Rev 2) is running quite old versio of Rasbian – although fully updated and patched. Today while checking the syslog on my raspberry pi, I noticed the following error which was … Continue reading

Posted in FLOSS, RaspberryPi, Tips/Code Snippets | Tagged , | Leave a comment