Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 01:35:16 +0200
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        David Hawthorne <dhawth@bitgravity.com>, freebsd-ports@freebsd.org
Subject:   Re: Question about ports adding cronjobs
Message-ID:  <48584A34.2040201@FreeBSD.org>
In-Reply-To: <485849C6.5040708@FreeBSD.org>
References:  <746214C8-3863-4B29-8B01-230579284C76@bitgravity.com>	<4858428A.80502@FreeBSD.org>	<18520.18635.747302.473408@jerusalem.litteratus.org> <485849C6.5040708@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Pietro Cerutti wrote:
| Robert Huff wrote:
| | Pietro Cerutti writes:
| |
| |>  | I
| |>  | have a package done up for it, and I'd like to add it to the ports
| tree
| |>  | eventually, but I'm stuck on how to get it to automagically add the
| |>  | cronjob to have the stats gathering script run every five minutes,
| and I
| |>  | don't know of any ports that add cronjobs off the top of my head
| to go
| |>  | look at.
| |>  |
| |>  | Is there an approved standard for doing this?
| |>
| |>  Another option would be to create a support script/daemon and
| |>  place it in rc.d. The script/daemon would then sit idle and wake
| |>  up once every <your preferred time here> and gather your
| |>  statistics.
| |>
| |>  Third option: instruct the user (via a message at post-install
| |>  stage) on how to setup the cron job.
| |
| |     I would _much_ prefer either of these.  The idea of adding a
| | cron job - even if there's a message displayed at the end of
| | installation - makes me nervous.
|
| I didn't meant "you add the cronjob and inform the user", but instead
| "you inform the user how he can setup the cronjob, if he wants so".

Ups.. I think I've misunderstood your comment. Sorry for the noise.

|
| Anyway, I agree with you.
|
| |
| |
| |                 Robert Huff
| |
|
|
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

- --
Pietro Cerutti
gahr@FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEAREKAAYFAkhYSjIACgkQwMJqmJVx946kvgCgvvScJErrsY5U9DEAnlRkfO3+
+3AAoMaeOhsFoNL/eavCbvVrEtNbjsdh
=a+OV
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48584A34.2040201>