I suggested on smf-discuss a while back that cron should become an SMF restarter, so that cron jobs can be specified using SMF manifests. That makes adding and removing them be the same problem as adding and removing any other SMF service.

Ed McKnight wrote:
Bugzilla: 3936 crontab support

--emk

Chris Ridd wrote:
On 21 Oct 2008, at 11:38, ramanujan oops wrote:

Can anyone publish their package into pkg.opensolaris.org?

No, it is only for the OpenSolaris project.

Lets say I distribute my IPS package to the customer for their use and I plan to do it by giving the clients a script which publishes my application package files to their corresponding repository server.

That sounds a slightly unusual way to distribute your packages at present, mostly because moving packages between repositories is a bit awkward.

I think the expected procedure at the moment is for your organization to set up their own repository, for you to publish your packages into that, and for your clients to install packages directly from that.

Setting up a repository is easy and well documented - see the man page for pkg.depotd. OTOH I don't know how easy it is to set up a secure public-facing repository.

My preinstall and postinstall scripts did a few preliminary checks on the user environment and also it added cron jobs. I assume that I will be able to achieve this through SMF.

No existing actions are provided which manipulate cron jobs, so you'd need to figure out something yourself here using SMF.

Cheers,

Chris


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
------------------------------------------------------------------------

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to