Re: cron run as someone and mailto another
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 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 ..
nate
Reply to: