Updated README w/ sample cron
-Skip
This commit is contained in:
parent
b2121fb520
commit
f70cd0d2bc
10
README.md
10
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.
|
**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)
|
||||||
|
Loading…
Reference in New Issue
Block a user