Fading Coder

One Final Commit for the Last Sprint

Linux Cron Job Scheduling and Management

Cron Service Fundamentals Cron is a time-based job scheduler in Unix-like operating systems. The crond daemon runs in the background and executes scheduled commands at specified intervals. # Check if cron service is running ps aux | grep cron | grep -v 'grep' # Verify cron service status across runl...

Automating MySQL 5.7 Backups with Cron Jobs

Directory Layout Start by building a dedicated structure for storing scripts, dump files, and logs: mkdir -p /mysql/backup/{scripts,files,logs} Full Backup Script Create the executable that handles database dumps: vi /mysql/backup/scripts/backup_full.sh Paste the logic below. It connects to MySQL, d...

Advanced Selenium WebDriver Techniques: Frames, Windows, and JavaScript Execution

Frames Switching context into an iframe requires targeting its identifier or index. from selenium import webdriver browser = webdriver.Chrome() browser.switch_to.frame("frame_identifier") Window Management When interactions trigger new browser tabs or windows, the driver remains on the ori...

Configuring Ansible for Linux and Windows Host Management

Ansible Installation and Basic Usage Ansible is a powerful automation engine for configuration management, application deployment, task automation, and orchestration. This guide covers its installation, core functionalities, and specific setup for managing both Linux and Windows target hosts. Instal...

Methods for Automatically Creating Files and Directories in Python

Methods for Automatically Creating Files and Directories in Python
Creating Directories In Python, you can use the os module's mkdir or makedirs functions to create directories. The mkdir function can only create a single-level directory, while makedirs can recursively create multi-level directories. Using mkdir to Create a Directory import os directory_path = 'ex...

Scheduling Recurring Tasks in CentOS with Cron

CentOS supports automated recurring task execution through the cron daemon, a time-based job scheduler that runs commands or scripts at predefined intervals. Common Use Cases System hygiene: Rotating or purging log files, cleraing temporary directories, verifying disk space. Data protection: Executi...

Automated Testing Frameworks for Web APIs and SOAP Services

RESTful API Testing Approaches GUI-Based Testing with JMeter JMeter provieds a visual environment for constructing API test scenarios. Configure a thread group to simulate concurrent users, then add HTTP Request samplers to target yourr endpoints. Attach a View Results Tree listener to inspect respo...

Optimizing Ansible Execution: Asynchronous Modes and Performance Tuning

Command-Line Options for Asynchronous Execution -B SECONDS or --background SECONDS: Run tasks asynchronously, failing after specified seconds (default: N/A) -P POLL_INTERVAL or --poll POLL_INTERVAL: Set poll interval when using -B (default: 15 seconds) -f FORKS or --forks FORKS: Specify number of pa...

Complete Guide to Automated API Testing with Postman

Background This article assumes readers have a foundational understending of Postman and basic API concepts, including the ability to manually send requests. Current setup: Windows 7 - 64-bit Postman version (free edition): Chrome App v5.5.3 Interface variations across versions may exist, but they d...

Automating Private NuGet Package Publishing in .NET Core

Automating Private NuGet Package Publishing in .NET Core
This guide covers two scenarios: publishing a single NuGet package and batch publishing multiple packages. Single Package Publishing First, let's look at the configuraton example: Explanation of the highlighted code: <IsPackable>true</IsPackable> <!-- Generate the package --> <G...