How do I reschedule the discovery or rewalk process to run at a different time?
To reschedule the regular discovery/re-walk process:
- See Administration Tool > Expert Tools > Crontab
The existing cron configuration is displayed, by default, this is set to 11:00 AM everyday
- 0 11 * * * nim-discover -v 3 -r > $SSHOME/nim/etc/discover.log 2>&1
- This syntax of the string is Minutes Hours Day-of-Month Month Day-of-Week Process-to-be-run verbose-flag verbose-level discovery-type-flag redirect-stdout stdout-location redirect-stderr-to-stdout, where:
- * = unused
- discovery-type-flags are:
- -h - discover using hosts
- -R - discover using IP ranges
- -r - rewalk
Examples of adjusting the rewalk discovery timeframe
4 AM everyday: 0 4 * * * nim-discover -v 3 -r > $SSHOME/nim/etc/discover.log 2>&1
1 AM on a Wednesday: 0 1 * * 3 nim-discover -v 3 -r > $SSHOME/nim/etc/discover.log 2>&1
6:30 PM on a Sunday: 30 18 * * 0 nim-discover -v 3 -r > $SSHOME/nim/etc/discover.log 2>&1