Tagged articles

Background Jobs

9 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Sep 5, 2026 · Backend Development

Why @Scheduled Runs 3× in Kubernetes: Migrating to JobRunr for Distributed Tasks

After scaling a Spring Boot app to three Kubernetes replicas, @Scheduled tasks ran thrice, generating duplicate reports. The author evaluates distributed locks but adopts JobRunr for persistent, retryable, and monitorable background jobs, demonstrating integration with Spring Boot 4, code patterns for fire-and-forget, recurring, and delayed tasks, plus idempotency and deduplication strategies.

Background JobsDistributed Task SchedulingJobRunr
0 likes · 16 min read
Why @Scheduled Runs 3× in Kubernetes: Migrating to JobRunr for Distributed Tasks
LuTiao Programming
LuTiao Programming
Aug 20, 2026 · Backend Development

Recreating Taobao’s 30‑Minute Unpaid Order Auto‑Close in Spring Boot Without Redis or Minute‑by‑Minute Scans

The article explains how to replace the common @Scheduled per‑minute scan or Redis TTL approach for auto‑closing unpaid orders with JobRunr’s durable delayed‑job feature in Spring Boot, detailing the implementation steps, scalability benefits, idempotent handling, and distributed execution considerations.

Background JobsJobRunrSpring Boot
0 likes · 11 min read
Recreating Taobao’s 30‑Minute Unpaid Order Auto‑Close in Spring Boot Without Redis or Minute‑by‑Minute Scans
Open Source Tech Hub
Open Source Tech Hub
Sep 3, 2025 · Backend Development

Master Supervisor to Supercharge PHP Background Tasks on Ubuntu

This guide explains how to install Supervisor on Ubuntu, configure it for Laravel queue workers, and apply practical tips such as multi‑process management, timeout control, log monitoring, and Docker integration to improve PHP backend task efficiency and stability.

Background JobsLaravelPHP
0 likes · 4 min read
Master Supervisor to Supercharge PHP Background Tasks on Ubuntu
Liangxu Linux
Liangxu Linux
Jul 12, 2025 · Operations

Master Linux Background Jobs: &, nohup, and screen Explained

This guide explains how to run commands in the background on Linux using the '&' operator, the nohup command, and the screen utility, covering job control, output redirection, process termination, and practical examples with full command syntax.

Background JobsProcess Managementnohup
0 likes · 7 min read
Master Linux Background Jobs: &, nohup, and screen Explained
MaGe Linux Operations
MaGe Linux Operations
Apr 23, 2025 · Operations

Master Linux Background Jobs: &, nohup, and screen Explained

This guide explains how to run Linux commands in the background using &, nohup, and screen, covering their syntax, output redirection, job control shortcuts, and practical examples so you can keep the terminal free for other tasks while processes continue running.

Background JobsProcess ManagementShell
0 likes · 8 min read
Master Linux Background Jobs: &, nohup, and screen Explained
Liangxu Linux
Liangxu Linux
Dec 2, 2023 · Operations

How to Keep Linux Jobs Running After SSH Disconnects

This guide explains why SSH sessions and terminal closures cause running programs to terminate, describes SIGINT and SIGHUP signals, and provides practical Linux techniques—including using '&', nohup, job control commands, and GNU Screen—to run background tasks that survive disconnections.

Background JobsProcess ManagementSSH
0 likes · 6 min read
How to Keep Linux Jobs Running After SSH Disconnects
Open Source Tech Hub
Open Source Tech Hub
Aug 5, 2019 · Backend Development

How to Implement a Redis‑Backed Queue in ThinkPHP5

This guide explains how to set up ThinkPHP5's built‑in Queue component with a Redis driver, create a custom queue class, configure the queue, produce messages, and run a consumer process, including handling retries, delays, and daemon mode.

Background JobsPHPRedis
0 likes · 9 min read
How to Implement a Redis‑Backed Queue in ThinkPHP5
Efficient Ops
Efficient Ops
Dec 6, 2018 · Fundamentals

Master Linux Process Scheduling: Background Jobs, nohup, setsid & More

This guide explains Linux process scheduling concepts, terminology, and practical commands such as &, nohup, setsid, jobs, bg, fg, and disown, plus how to create daemon processes, helping developers run tasks reliably without terminal dependence.

Background Jobsnohupprocess-management
0 likes · 14 min read
Master Linux Process Scheduling: Background Jobs, nohup, setsid & More