netbox-housekeeping.sh 432 B

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