On 30 June 2015 at 08:56, a b <[email protected]> wrote:
> What I'd like to know is where it's coming from: `cron -l` for root returns 
> nothing.

By default, "crontab -l" will emit the user's crontab as stored in
"/var/spool/cron/crontabs".  This file persists within the pool in the
global zone, under the "zones/var" dataset.  In order to allow the
_platform_ to ship crontab entries for system tasks, we added a second
crontab location.

If you use "crontab -l -g", you will see the crontab stored at
"/etc/cron.d/crontabs"; these crontabs are shipped in the platform
image.  The "-g" flag is also described in the crontab(1) manual page.

There are various log rotation and prune tasks scheduled within the
global (-g) crontab for root.  Some of them apparently need bugs filed
and work done.


Cheers.

-- 
Joshua M. Clulow
UNIX Admin/Developer
http://blog.sysmgr.org


-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to