How to Run a Cron Job Only If a TCP Port Is Open
Sometimes you want your cron job to run only if a specific TCP service is available — for example, a database, API endpoint, or SSH……
# Linux, Devops, Scripting, Cats and various things come to my mind
Sometimes you want your cron job to run only if a specific TCP service is available — for example, a database, API endpoint, or SSH……
Sometimes you want a scheduled task to run only when you’re online — for example, syncing backups, pulling data from an API, or uploading……
In this series of articles we will learn how to create a tool in Go, by following this tutorial will not learn you Go from zero, nor will……
When writing shell scripts that need to run across different operating systems, it’s important to consider platform-specific differences……
Assume that you have an ini configuration file and you need to export various sections as environment variables to be used from your……
If Death decided to maintain records for every soul ever taken, which tool would be the most suitable? While this might sound macabre, it……
Try the following, open a shell in your computer and enter:…
Imagine that you have an Apache web server that acts as a proxy, for years everything worked well and smoothly.. but out of the blue you……
Analyzing file sizes in Linux can be challenging, especially when you want to group them by directory and filter them using a specific……
The varedit function is a versatile and user-friendly Bash function designed to simplify editing environment variables in memory using……