Skip to content

Commit

Permalink
Merge pull request #103 from mwestphall/SOFTWARE-5477-pass-cert-updat…
Browse files Browse the repository at this point in the history
…es-to-container

SOFTWARE-5477: add new cron file to periodically run fix_certs.sh
  • Loading branch information
brianhlin authored Jun 13, 2023
2 parents 94afe1d + e059302 commit 1a0e749
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions xcache/cron.d/fix_certs.cron
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Cron job running by default once daily at noon,
# copies active cert and key to correct location and fixes permissions

0 12 * * * root /usr/local/sbin/fix_certs.sh
2 changes: 1 addition & 1 deletion xcache/cron.d/xcache-reporter.cron
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# OSG monitoring cron that respects the opt-out XRootD configuration
*/5 * * * * * root [ -n "$DISABLE_OSG_MONITORING" ] || /usr/libexec/xcache/xcache-reporter --one-shot
*/5 * * * * root [ -n "$DISABLE_OSG_MONITORING" ] || /usr/libexec/xcache/xcache-reporter --one-shot

0 comments on commit 1a0e749

Please sign in to comment.