On Sun, Nov 1, 2009 at 3:45 PM, Vano Beridze <vanua...@gmail.com> wrote: > Now I've logged in and there was a mail saying that cron did not found zpool > > it's in my path > which zpool > /usr/sbin/spool > > Does cron use different PATH setting?
Yes. Typically your PATH is set up by various shell initialisations which may not get run for Cron jobs. In any case, it's safer to assume it's not. > Is it ok to specify /usr/sbin/zpool in crontab file? It is in fact preferable to specify fully qualified paths in crontabs generally, so yes. Alex _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss