Kelson Martins
user

Kelson Martins

Software engineer. Geek. Traveller. Wannabe athlete. Lifelong student. Works at IBM and hosts the @HardcodeCast.


Posts


Navigation
Taglinux
Featured

Programming

Controlling Python cron jobs with PID on Linux

Posted on May 30th, 2021.

Recently while working with scheduled python scripts in cron jobs, an interesting requirement turned up: ensuring that the previous scheduled execution had finished prior to allowing the next cron job to run. This post aims to present one feasible solution for such a requirement, which I believe deserves a post. Assume you have a...

Featured

System Administration

Linux Jobs command – The Basics

Posted on May 9th, 2021.

  We can consider every command in Linux as a job that is executed. We execute most of the ordinary jobs quite fast, where the user does not need to wait long periods to regain control of the shell. However, some jobs may require longer periods of execution. These may include moving long folders, script execution and others. Saying...