[rancid] is this possible
Piegorsch, Weylin
weylin at bu.edu
Mon Mar 30 21:48:15 UTC 2026
[rancid-user at rancid-server ~]$ crontab -l
#
# Crontab for Rancid
#
# it's simpler to list all Rancid groups on a single command
# however, rancid will then run them in series
# to execute in parallel, each group requires its own unique entry
# Run Rancid to collect network device configurations every day at 2:00am and 2:00pm
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs acnet
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs border
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs console
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs core
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs datacenter
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs dev-test-lab
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs distribution
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs firewalls
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs resnet
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs voice-gateways
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs vpn
00 02,14 * * * /bin/nice -n 19 /usr/local/rancid/bin/do-diffs wireless
# At 3:00am every day, clean out log files that are over a week old
00 03 * * * /bin/nice -n 19 /usr/bin/find /usr/local/rancid/var/logs -mtime +7 -exec rm {} \;
[rancid-user at rancid-server ~]$
Weylin Piegorsch | Lead Network Architect | Network Service Group
Boston University Information Services & Technology
weylin at bu.edu | 617.353.8128 | bu.edu/tech
Listen. Learn. Lead.
-----Original Message-----
From: Vacheslav <m_zouhairy at skno.by>
Sent: Monday, March 30, 2026 12:14 PM
To: rancid-discuss at www.shrubbery.net
Subject: Re: [rancid] is this possible
rancid run was running that is why it didn't work, never the less
grep: warning: stray \ before /
error is annoying
On 3/30/26 18:46, heasley wrote:
> Mon, Mar 30, 2026 at 09:12:31AM +0300, Vacheslav:
>> what's the right notation?
>> rancid-run Region
>> grep: warning: stray \ before /
>> rancid at cacti ~ $ rancid-run <Region>
>> -bash: syntax error near unexpected token `newline'
> These are common umix notations meaning "[optional stuff description]"
> and [<optional thing> [<multiple optional thing>]]" and "<required
> description>".
>
> 0 8 * * * /usr/local/bin/rancid-run Region
>
>> 29.03.2026 19:22, heasley пишет:
>>> Sun, Mar 29, 2026 at 08:31:48AM +0300, Vacheslav:
>>>> so i did 2 groups, is there a way to run a cron job on one group
>>>> daily and on the other on week days?
>>> yes, just create multiple jobs and list the groups that you wish to
>>> run.
>>> <time spec> rancid-run <group> [<group> [<group>] ...]
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at www.shrubbery.net
> https://www.shrubbery.net/mailman/listinfo/rancid-discuss
More information about the Rancid-discuss
mailing list