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...

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...

Automating Recurring Tasks with Cron on Linux

Understanding the Cron Service The crond daemon manages scheduled command execution on Linux systems. It scans three locations every minute to determine which jobs should run: /etc/crontab: The primary system-wide crontab, typically used by administrators for maintenance routines. /etc/cron.d/: A di...