Server Administration
Run Scheduled Jobs With systemd Timers
systemd timers run scheduled jobs with a .timer/.service pair: OnCalendar sets the schedule, systemctl list-timers shows it, journalctl keeps the logs, and Persistent=true catches…
Server Administration
systemd timers run scheduled jobs with a .timer/.service pair: OnCalendar sets the schedule, systemctl list-timers shows it, journalctl keeps the logs, and Persistent=true catches…
Server Administration
Back up a server with tar and gzip: one dated, compressed archive of the site's files, verified with -tzf, restore-tested with -xzf, and copied…
Server Administration
A log file that grows forever will eventually fill the disk. Write a logrotate config that renames, compresses and expires old copies, test it…
Programming
Schedule recurring tasks with WP-Cron, WordPress's built-in scheduler. This tutorial hooks a task to a custom action, adds a five-minute interval through cron_schedules, schedules…
Server Administration
Create a systemd service to keep a long-running program alive - started at boot, restarted on a crash, logs collected. This tutorial writes a…
Server Administration
Run commands on a fixed timetable with cron. This tutorial opens your crontab, explains the five time fields, schedules a nightly logged backup, and…