On Wed, Nov 06, 2013 at 10:57:12AM +0200, Volodymyr Kostyrko wrote:
> >>Shouldn't we encourage packages to use periodic(8) when possible?
> >Yes but our default periodic configuration in /etc/crontab is only
> >configured to be as granular as daily. If this is something that should
> >run hourly or at very strange intervals then cron is a better choice.
> So why we shouldn't add something like:
> 0 * * * * root periodic hourly
> @reboot root periodic reboot
> I already do this on some machines to take hourly and boot snapshots
> with zfSnap. And I think periodic is much better place for such
While this is the way it has always been done, I'd find it somewhat lacking in
the flexibility department, also you might be in for some nasty surprises
First, the resolution is limited to hourly, and second, if I'm not mistaken,
the jobs are run strictly sequentially.
The last point be suboptimal, as the interval may vary wildly. Also, what
happens when all jobs' runtime adds up to more than one hour?
It's an equivalent of /etc/cron.hourly.d, but going this way we still don't have
something like /etc/crond.d.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"