ansible/roles/netbox/templates/netbox-housekeeping.sh.j2
Markus Hauschild 8fabdc2550
Some checks failed
continuous-integration/drone/push Build is failing
netbox: bump version to 3.0.0
2021-08-31 19:02:20 +02:00

10 lines
474 B
Django/Jinja

#!/bin/sh
# This shell script invokes NetBox's housekeeping management command, which
# intended to be run nightly. This script can be copied into your system's
# daily cron directory (e.g. /etc/cron.daily), or referenced directly from
# within the cron configuration file.
#
# If NetBox has been installed into a nonstandard location, update the paths
# below.
/opt/netbox-{{ netbox_version }}/venv/bin/python /opt/netbox-{{ netbox_version }}/netbox/manage.py housekeeping