Re: cron run as someone and mailto another

2002-10-26 Thread Colin Watson
On Fri, Oct 25, 2002 at 09:12:47PM -0700, nate wrote: > i've never really played with the email stuff on cron what I usually do > is make a script and pipe the output to mail > > /usr/local/bin/blah.sh | mail me@localhost > > and blah.sh has the stuff you wanna run in it .. Way overkill, man. Wa

Re: cron run as someone and mailto another

2002-10-26 Thread Colin Watson
On Sat, Oct 26, 2002 at 10:38:03AM +0800, Patrick Hsieh wrote: > I'd like to put some cron in /etc/cron.d/ and have them run as "www-data" > but send the cron log mail to another user. Is it possible? Seems the > cron syntax does not support this. It does - set the MAILTO variable in the crontab.

Re: cron run as someone and mailto another

2002-10-25 Thread nate
Patrick Hsieh said: > Hello list, > > I'd like to put some cron in /etc/cron.d/ and have them run as "www-data" > but send the cron log mail to another user. Is it possible? Seems the > cron syntax does not support this. Any work-around? i've never really played with the email stuff on cron what

cron run as someone and mailto another

2002-10-25 Thread Patrick Hsieh
Hello list, I'd like to put some cron in /etc/cron.d/ and have them run as "www-data" but send the cron log mail to another user. Is it possible? Seems the cron syntax does not support this. Any work-around? -- Patrick Hsieh<[EMAIL PROTECTED]> GnuPG Pubilc Key at http://www.ezplay.tv/~pahud/pah