Quoth Tim Foster on Tue, May 30, 2006 at 03:03:44PM +0100:
> To summarise, I'm using a transient service that builds a cron job to
> take automatic snapshots of a given ZFS filesystem (and optionally, it's
> children), storing the various options for each instance in the SMF
> repository. I figured that this allows admins to easily manage their
> snapshot schedules, without having to mess about with cron jobs (yuck).
> 
> 
> Here's my question: given that the cron job itself is responsible for
> carrying out the tasks that the service offers, it's disconnected from
> the usual service logging that the smf-method enjoys. Is there any way
> to have the cron job log it's output to the service instance log file ?
> (apart from the obvious re-direction of stdout/stderr)

No.

> Would this be a valid RFE, or am I missing something obvious that's
> already provided ? I'd welcome any help (or education via baseball
> bats :-) that you guys could offer!

I don't think this use case will be common, and it would be quite
awkward to architect & implement.  Given that we think a cron restarter
would probably be a good candidate for SMF services anyway, I think we
would either close this RFE as will not fix, or use it to track the cron
restarter.


David

Reply via email to