Skip to content
Sixteen Pillars.
  • Framework
    • Blast Radius
    • Full Governance by Sixteen Pillars
    • State of the Estate
  • Capabilities
    • Services
  • Thinking
    • Topics
  • Who
  • Studio
  • Let’s talk

Cron & Scheduled Jobs

Declarative Range Partitioning by Month in PostgreSQL 17

November 10, 2026 by Richard King

How I convert a large append-only table to declarative range partitioning by month in PostgreSQL 17, then hand partition creation and retention to pg_partman.

Categories Architecture, Delivery & Build Tags Cron & Scheduled Jobs, Data Migration, Indexing & Query Performance, PostgreSQL, Scalability & Performance, Schema Design & Migrations

This fixes: BorgBackup ‘Cache is newer than repository’ and lock errors after an interrupted run

November 6, 2026 by Richard King

A killed Borg run leaves a stale lock and a cache that thinks it has seen the future. Clear both safely, fix the clock-skew cause, and keep every archive.

Categories Delivery & Build Tags Backup & Recovery, Business Continuity, Cron & Scheduled Jobs, Diagnostics & Troubleshooting, Linux Administration, systemd

A Bash Strict-Mode Script Template You Can Start Every Script From

November 4, 2026 by Richard King

A documented Bash boilerplate: strict mode, colourised logging, a cleanup trap, getopts parsing and a usage() and main(). A copy-paste starting point that is already safe.

Categories Delivery & Build Tags Cron & Scheduled Jobs, Pre-Commit & Code Gates, Shell Scripting

TLS With certbot and Let’s Encrypt on nginx: Issuance, Auto-Renewal and OCSP Stapling

October 28, 2026 by Richard King

A full certbot setup on nginx: issue the cert, verify the systemd renewal timer, add a deploy hook that reloads cleanly, harden TLS 1.2/1.3, and confirm the grade.

Categories Delivery & Build Tags Cron & Scheduled Jobs, Licensing & Renewals, Linux Administration, systemd, Web Servers & Reverse Proxies

A Safe Old-File Cleanup Script With find That Won’t Delete the Wrong Thing

October 26, 2026 by Richard King

A defensible cleanup job built on GNU find: absolute-path anchoring, a mandatory dry run, -mtime filters, print0 with xargs -0, exclusions, logging, and a guard that stops it running against /.

Categories Delivery & Build Tags Cron & Scheduled Jobs, Linux Administration, Shell Scripting

Automating Windows Server Patching With PowerShell and PSWindowsUpdate

October 19, 2026 by Richard King

Automate Windows Server patching without WSUS using PSWindowsUpdate: scheduled scans, excluded drivers and previews, per-host reports, and a reboot confined to a maintenance window.

Categories Delivery & Build Tags Cron & Scheduled Jobs, Host Hardening, PowerShell, Schema Design & Migrations

Automating OS Patch Windows: unattended-upgrades on Linux and PSWindowsUpdate on Windows

October 16, 2026 by Richard King

Apply security updates on a schedule with reboots gated to a maintenance window and reporting that tells you what happened: unattended-upgrades on Linux, PSWindowsUpdate on Windows.

Categories Compliance & Risk Tags Audit & Evidence, Cron & Scheduled Jobs, Linux Administration, Maritime & Shipping, PowerShell, Schema Design & Migrations, systemd

Automating Let’s Encrypt Renewals With Certbot and systemd Timers

October 12, 2026 by Richard King

Unattended TLS renewal done properly: a certbot systemd timer, a deploy hook that reloads nginx only on real renewal, a dry-run to prove it, and expiry monitoring.

Categories Delivery & Build Tags Cron & Scheduled Jobs, Rate Limiting, systemd, Web Servers & Reverse Proxies

Baseline systemd Service and Timer Setup for a Scheduled Job

September 30, 2026 by Richard King

A systemd timer is two files and a lot of capability people never use. Set up a oneshot service and its timer with catch-up, randomised delay, a dedicated user and sandboxing.

Categories Delivery & Build Tags Audit & Evidence, Backup & Recovery, Cron & Scheduled Jobs, Idempotency & Retries, Schema Design & Migrations, systemd

Don’t forget DST in your schedulers, cron jobs, batch windows and settlement cut-offs

September 7, 2026 by Richard King

On 25 October 2026 the EU turns its clocks back and one hour of local time happens twice. Every scheduler pinned to wall-clock time is a landmine that day. Here is the one audit to run before it fires.

Categories Delivery & Build Tags Business Continuity, Cron & Scheduled Jobs, Observability & Monitoring, Queues & Background Jobs, Settlement Operations, systemd
Older posts
Page1 Page2 Next →
Sixteen Pillars
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
Storing your preferences — such as language or display settings — so the site works as you left it. These cookies are set automatically and do not require your consent.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. Some storage is set automatically to keep the site functioning — not based on your choices, but on technical requirements. This includes things like load balancing and session continuity.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}

Sixteen Pillars Technology Control Framework

About the framework Full pillar index



The Sixteen Pillars

  1. Asset & Estate Visibility
  2. Architecture Comprehension
  3. Data Trust & Lineage
  4. Dependency Mapping
  5. Decision Rights & Accountability
  6. Change Governance
  7. Investment & Portfolio Control
  8. Supplier & Third-Party Control
  9. Security Posture
  10. Identity & Access Control
  11. Resilience & Continuity
  12. Operational Capability
  13. Regulatory Adaptability
  14. Scalability & Performance Headroom
  15. Technical Debt & Sustainability
  16. Adaptability & Strategic Optionality

Services

  • All services
  • Fractional CTO
  • Technology Control Assessment
  • Technology Due Diligence
  • First 90 Days
  • Architecture Review
  • Pricing
  • Studio — build & rescue

Regulations

  • All regulations
  • DORA
  • MiCA
  • NIS2
  • EU AI Act
  • DORA ICT Third-Party Risk

Sectors

  • All sectors
  • Financial Services
  • Shipping & Maritime
  • iGaming
  • Digital Assets
  • Legal
  • eCommerce
  • Healthcare & Medical
  • Engineering

Company

  • About
  • Approach
  • Writing
  • Topics
  • Thinking
  • Control Matrix
  • Start a conversation
Cookie Policy Accessibility Statement

© Sixteen Pillars 2012 – 2026. All Rights Reserved.