| 81 | = cron = |
| 82 | The current portal uses a few cron jobs. These are sprinkled across "root" (for privileges, presumably), "www-data" (to send email), and "tmitchel" (because we thought it was a short-term job). |
| 83 | |
| 84 | Here they are, with an indication of which crontab they are in: |
| 85 | {{{ |
| 86 | # m h dom mon dow command |
| 87 | # |
| 88 | # (root) Delete omni log files in /tmp |
| 89 | 55 23 * * * /usr/bin/find /tmp -name '*-omni-log-??????' -mtime +7 | /usr/bin/xargs /bin/rm -f |
| 90 | # |
| 91 | # (root) Create the member authority CRL |
| 92 | 10 2 * * * /usr/local/sbin/geni-create-ma-crl && service apache2 restart |
| 93 | # |
| 94 | # (www-data) Notify users of expiring certificates |
| 95 | 5 1 * * * /usr/local/sbin/geni-expiring-certs --days 30,14,7,2 |
| 96 | # |
| 97 | # (tmitchel) Check for stale omni processes every 5 minutes |
| 98 | */5 * * * * /home/tmitchel/bin/stale-omni |
| 99 | }}} |
| 100 | |
| 101 | There are other cron jobs used by the infra team in both root and www-data cron tabs. We'll need to figure out which ones to transition, or how to replace them in the RENCI environment, if at all. |
| 102 | |