diff --git a/README.md b/README.md index 55ca799..eaf1702 100644 --- a/README.md +++ b/README.md @@ -76,3 +76,13 @@ A couple support scripts are also in the repository: **repo_compare_launcher.sh :** Run all combinations of repocompare RHEL <---> Rocky. Compares 8 and 9 production, staging, source, modules, RHEL Beta, etc. +## Sample Cron: + +``` +# Run full repocompare script every 4 hours +5 */4 * * * root /opt/repocompare/repo_compare_launcher.sh; rsync -av --delete /opt/repocompare_results/ /var/www/html/repocompare_results/ + +# Delete HTML repocompare pages more than 10 days old: +10 2 * * * root find /opt/repocompare_results/ -iname "*.html" -type f -mtime +7 -exec rm -f {} \; +``` +(things might be cleaned up, to make results location more flexible)