I've looked at man cron and found out that I can modify /etc/default/cron file 
to set PATH that is defaulted for /usr/bin for mortal users and 
/usr/bin:/usr/sbin for root.

I did not change /etc/default/cron file, instead I've indicated full path in my 
crontab file.

Ethically speaking I guess scrubbing filesystem weekly is an administrative 
task and it's more applicable to root user, So If I had created crontab job for 
root user the whole PATH problem would not arise. 

Anyways it's my desktop so I'm the man and woman in here and there is no big 
difference what user's crontab will do the job. :)
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to