Tag

cron

1 views collected around this technical thread.

IT Xianyu
IT Xianyu
Jun 4, 2025 · Databases

Comprehensive Guide to Automated MySQL Backup and Restore with Docker

This article provides a step‑by‑step tutorial for DBAs to design a reliable MySQL backup strategy, write a Bash automation script, schedule it with cron, and perform restoration drills using Docker containers, while covering directory planning, command checks, cleanup, and common troubleshooting.

BackupDatabase RecoveryDocker
0 likes · 17 min read
Comprehensive Guide to Automated MySQL Backup and Restore with Docker
Selected Java Interview Questions
Selected Java Interview Questions
May 29, 2025 · Backend Development

Spring Task: A Programmer’s Personal Assistant – Mastering Scheduling in Spring Boot

This tutorial introduces Spring Task, explains how to enable scheduling in Spring Boot, demonstrates creating cron expressions, shows common use cases such as data sync, log cleanup, and email reminders, and provides best‑practice tips for thread‑pool tuning, distributed execution, and avoiding common pitfalls.

JavaSpringSpring Boot
0 likes · 9 min read
Spring Task: A Programmer’s Personal Assistant – Mastering Scheduling in Spring Boot
Java Captain
Java Captain
Apr 22, 2025 · Operations

Improving Cron Job Stability and Monitoring with Best Practices and Healthchecks

The article analyzes common cron job failures such as accidental deletions, OOM crashes, and lack of monitoring, then proposes standardized Jenkins deployment, automatic server selection, lock mechanisms, queue-based processing, status awareness, and the use of the open‑source Healthchecks system to achieve proactive detection and alerting.

automationcronhealthchecks
0 likes · 8 min read
Improving Cron Job Stability and Monitoring with Best Practices and Healthchecks
Code Ape Tech Column
Code Ape Tech Column
Apr 18, 2025 · Backend Development

Dynamic Cron Expression Management in SpringBoot Scheduling

This article explains how to enable SpringBoot scheduling with @EnableScheduling and @Scheduled, describes the three scheduling modes (cron, fixedDelay, fixedRate), and provides a complete solution for dynamically updating, disabling, and re‑enabling Cron expressions at runtime using custom interfaces and configuration classes.

DynamicJavaSpringBoot
0 likes · 10 min read
Dynamic Cron Expression Management in SpringBoot Scheduling
Raymond Ops
Raymond Ops
Feb 26, 2025 · Operations

Master Linux Cron: Create, Manage, and Debug Scheduled Tasks

This guide explains how to use Linux crontab for scheduling tasks, covering basic job creation, locating user and system crontab files, enabling cron logging, controlling user access, command options, time syntax, common scheduling patterns, and editing the system-wide /etc/crontab file.

LinuxSystem Administrationautomation
0 likes · 6 min read
Master Linux Cron: Create, Manage, and Debug Scheduled Tasks
Raymond Ops
Raymond Ops
Feb 22, 2025 · Operations

Master Log Rotation: Shell Scripts for Automated Nginx Log Splitting

This guide walks through why nginx logs need daily rotation, demonstrates manual log splitting, provides a complete shell script for automated daily log rotation, explains logrotate configuration, and shows how to test and schedule the process with cron, ensuring clean and manageable log files.

LinuxNginxSystem Administration
0 likes · 13 min read
Master Log Rotation: Shell Scripts for Automated Nginx Log Splitting
Linux Ops Smart Journey
Linux Ops Smart Journey
Nov 19, 2024 · Operations

Automate Linux Firewalld, Iptables, and Cron with Ansible – A Complete Guide

This article explains how to use Ansible’s cron, iptables, and firewalld modules to manage Linux scheduled tasks, firewall rules, and service ports, providing detailed parameter descriptions, practical examples, and tips for reliable automation in system operations.

AnsibleLinuxautomation
0 likes · 9 min read
Automate Linux Firewalld, Iptables, and Cron with Ansible – A Complete Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 11, 2024 · Backend Development

Master Spring Boot 3 Task Scheduling: Interfaces, Annotations, Cron & Virtual Threads

This article explains how to use Spring Boot 3's TaskScheduler API, @Scheduled annotations, cron expressions, macro shortcuts, reactive support, virtual threads, and custom scheduling configuration, providing code examples and configuration tips for reliable backend task execution.

JavaSpring BootVirtual Threads
0 likes · 8 min read
Master Spring Boot 3 Task Scheduling: Interfaces, Annotations, Cron & Virtual Threads
Test Development Learning Exchange
Test Development Learning Exchange
Aug 15, 2024 · Operations

APScheduler Tutorial: Installation, Basic Usage, Triggers, and Advanced Features

This article introduces the Python APScheduler library, covering installation, a basic interval example, various trigger types such as date and cron, parameterized and timezone-aware jobs, retry handling, dynamic job management, SQL job stores, multithreading, parallel execution, external event triggers, priority settings, and how to run the examples.

Job Storeapschedulerconcurrency
0 likes · 10 min read
APScheduler Tutorial: Installation, Basic Usage, Triggers, and Advanced Features
Practical DevOps Architecture
Practical DevOps Architecture
Aug 7, 2024 · Operations

How to Delete Old Elasticsearch Indices Using Shell Scripts

This guide explains how to identify and remove outdated Elasticsearch indices by listing shards, filtering target indices, deleting them with a shell loop, and automating the process with a scheduled cron job, helping keep ELK performance optimal.

ELKElasticsearchIndex Management
0 likes · 3 min read
How to Delete Old Elasticsearch Indices Using Shell Scripts
FunTester
FunTester
Jul 25, 2024 · Backend Development

Overview of Scheduled Tasks and Their Implementations in Java and Go

This article introduces the concept of scheduled tasks, outlines common use cases such as data backup, log cleanup, and performance monitoring, and provides detailed examples of implementing periodic jobs in Java using java.util.Timer, ScheduledExecutorService, Spring @Scheduled, and Quartz, as well as in Go using the time package, cron library, and gocron.

GoJavaTimer
0 likes · 12 min read
Overview of Scheduled Tasks and Their Implementations in Java and Go
Java Tech Enthusiast
Java Tech Enthusiast
Jul 3, 2024 · Databases

MySQL Database Backup with Shell Script and Cron

This guide explains how to set up automated MySQL database backups using a shell script that runs mysqldump (optionally compressed), stores the files on a local disk, makes the script executable, and schedules it with a cron job after verifying disk space and cron availability.

BackupDatabaseLinux
0 likes · 5 min read
MySQL Database Backup with Shell Script and Cron
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 19, 2024 · Backend Development

Building and Deploying a Go‑Gin Web Application with Docker: From Installation to Comparison with Koa

This tutorial walks through installing Go, using the Go‑Gin framework, creating a simple cron‑enabled web service, building Docker images with and without multi‑stage builds, pushing them to a registry, deploying on a server, and comparing the final image size with an equivalent Koa implementation.

ContainerizationDockerGin
0 likes · 11 min read
Building and Deploying a Go‑Gin Web Application with Docker: From Installation to Comparison with Koa
Wukong Talks Architecture
Wukong Talks Architecture
Jun 6, 2024 · Operations

How to Prevent Accidental Database Deletion: Backup Strategies and Automation

This guide explains why accidental database deletion is a critical risk, outlines permission and audit measures, and provides detailed MySQL and file backup solutions—including encryption, multi‑site storage, cron scheduling, and ready‑to‑run Bash scripts—to ensure data safety and system stability.

BackupDockerMySQL
0 likes · 9 min read
How to Prevent Accidental Database Deletion: Backup Strategies and Automation
Efficient Ops
Efficient Ops
May 22, 2024 · Operations

Essential Ops Troubleshooting: 10 Quick Fixes and 22 Common Failure Cases

This guide compiles the most frequent Linux and network problems faced by operations engineers—ranging from non‑executing shell scripts and cron output issues to read‑only filesystems, disk space leaks, and service start failures—providing clear causes and step‑by‑step solutions for each case.

LinuxTroubleshootingcron
0 likes · 18 min read
Essential Ops Troubleshooting: 10 Quick Fixes and 22 Common Failure Cases
Practical DevOps Architecture
Practical DevOps Architecture
May 11, 2024 · Operations

Linux Log Backup Script with Automated Cleanup and Cron Scheduling

This article presents a Bash script that backs up Linux system log directories, removes backups older than a configurable number of days, compresses the daily logs, and sets up a daily cron job to automate the entire process.

BackupLinuxautomation
0 likes · 4 min read
Linux Log Backup Script with Automated Cleanup and Cron Scheduling
Code Ape Tech Column
Code Ape Tech Column
Feb 24, 2024 · Backend Development

Dynamic Cron Scheduling in Spring Boot: Implementing Mutable and Immutable @Scheduled Tasks

This article explains how to use Spring Boot's @EnableScheduling and @Scheduled annotations to create cron, fixed‑delay, and fixed‑rate tasks, and demonstrates a lightweight approach for dynamically updating or disabling cron expressions at runtime without external schedulers.

JavaSpring Bootbackend
0 likes · 12 min read
Dynamic Cron Scheduling in Spring Boot: Implementing Mutable and Immutable @Scheduled Tasks
php中文网 Courses
php中文网 Courses
Feb 4, 2024 · Backend Development

Implementing Product Promotion Push Functionality in a PHP E‑commerce Site

This article outlines the step‑by‑step process for implementing a product promotion push feature in a PHP‑based e‑commerce platform, covering target user identification, promotion table design, message templating, script development, database queries, cron scheduling, and result monitoring to boost user engagement and sales.

DatabasePHPPush Notification
0 likes · 5 min read
Implementing Product Promotion Push Functionality in a PHP E‑commerce Site