В Птн, 17/06/2011 в 07:57 -0700, Wes Hardaker пишет:
> >>>>> On Fri, 17 Jun 2011 10:12:50 -0400, Jeff Johnson <[email protected]> said:
> ...
> JJ> You run the script under cron.
> 
> How do you (safely) install a cron script on every platform that has rpm
> installed?

Why this is required in net-snmp? Even on single platform - in Gentoo we
allow users choose different cron implementations and thus in some cases
it's better just install cron script into /usr/share/doc/net-snmp
directory and document its existence then put into /etc/cron.d (which
vixie-cron specific afair and I don't have such directory on systems
with fcrond installed). So I'd provided script as reference
implementation in extra directory and avoided need to assume anything
about cron on platform.

> How do you select the period at which rpm itself should be run?

In Gentoo I'd tried to use portage (our package manager) hooks to
populate hrmib database.

--
Peter.


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to