running stuff with uid != 0 in cron

MikeO'Dell at BRL-VGR.ARPA MikeO'Dell at BRL-VGR.ARPA
Sat Jul 23 08:44:50 AEST 1983


Instead of hacking cron, how about

5,20,35,50 * * * * ( echo /usr/lib/uucp/lblpoll | su uucpd )

	or

0 0,4,8,12,16,20 * * * ( su uucpd < /usr/lib/uucp/cleanup)

This is from a production crontab, and you don't even
need to fire up the C compiler.

	-Mike



More information about the Comp.unix.wizards mailing list