mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
- Add comprehensive wiki documentation under .github/wiki/ (19 articles) - Add READMEs to directories that lacked them - Fix merge conflict markers in existing READMEs - Update root readme.md with improved structure Co-authored-by: Jarvis <jarvis@wickedyoda.local>
cron-job-setup-files
Overview
This directory contains scripts and documentation for configuring automatic cron jobs on Linux systems.
Files
| File | Description |
|---|---|
setup_cron_job_updates.sh |
Install auto-updates via /etc/cron.d |
setup_cron_job_updates-nomount.sh |
Auto-updates without mount requirement |
CronUpdates-readme.txt |
Usage documentation |
Usage
Install System Updates
sudo ./setup_cron_job_updates.sh
Install Without Mount Dependencies
sudo ./setup_cron_job_updates-nomount.sh
This version:
- Skips
mount -abefore updates - Safer for systems without guaranteed mounts
Cron Schedule
Default cron job (/etc/cron.d/auto_updates):
| Time | Command |
|---|---|
0 */6 * * * |
apt-get update && apt-get -y full-upgrade && apt-get autoremove -y |
0 */1 * * * |
mount -a (if enabled) |
Log Location
/var/log/auto_updates.log
Environment Variables
For non-root execution, set:
MAILTO="alerts@tyates.one"
References
- Cron job setup for detailed documentation
setup_cron_clean.shin repository root for updated/cleaner version