root / doc / examples / ganeti.cron.in @ 7e65c12c
History | View | Annotate | Download (560 Bytes)
1 | 78ac0e0d | Iustin Pop | PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin |
---|---|---|---|
2 | fc3fd894 | Michael Hanselmann | |
3 | 7e65c12c | Klaus Aehlig | # On reboot, continue a Ganeti upgrade, if one was in progress |
4 | 7e65c12c | Klaus Aehlig | @reboot root @SBINDIR@/gnt-cluster upgrade --resume |
5 | 7e65c12c | Klaus Aehlig | |
6 | fc3fd894 | Michael Hanselmann | # Restart failed instances (every 5 minutes) |
7 | 0d349b3a | Guido Trotter | */5 * * * * root [ -x @SBINDIR@/ganeti-watcher ] && @SBINDIR@/ganeti-watcher |
8 | fc3fd894 | Michael Hanselmann | |
9 | fc3fd894 | Michael Hanselmann | # Clean job archive (at 01:45 AM) |
10 | 927840bc | Klaus Aehlig | 45 1 * * * @GNTMASTERUSER@ [ -x @SBINDIR@/ganeti-cleaner ] && @SBINDIR@/ganeti-cleaner master |
11 | 2958c56e | Michael Hanselmann | |
12 | 2958c56e | Michael Hanselmann | # Clean job archive (at 02:45 AM) |
13 | 46118ed2 | Iustin Pop | 45 2 * * * @GNTNODEDUSER@ [ -x @SBINDIR@/ganeti-cleaner ] && @SBINDIR@/ganeti-cleaner node |