On Fri, Apr 1, 2011 at 11:09 AM, Robert Nesius <nesius at gmail.com> wrote: > > > On Fri, Apr 1, 2011 at 8:32 AM, Raymond Norton <admin at lctn.org> wrote: > >> The error about /var/www not being the home directory is because the >> script is launched by the www-data user. >> >> I have tried changing group membership, etc, but still get this error: >> >> >> Apr 1 08:18:21 linuxmint zmfilter[15681]: INF [Executing >> '/usr/local/sbin/alert /usr/share/zoneminder/events/12/6454'] >> Apr 1 08:18:21 linuxmint pulseaudio[15687]: core-util.c: Home directory >> /var/www not ours. >> Apr 1 08:27:28 linuxmint pulseaudio[15862]: lock-autospawn.c: Cannot >> access autospawn lock. >> Apr 1 08:27:28 linuxmint pulseaudio[15862]: main.c: Failed to acquire >> autospawn lock >> > > > You can tweak the environment of a cron job by setting env vars before the > invocation. > > i.e., HOME=/desired/homedir '/usr/local/sbin/alert > /usr/share/zoneminder/events/12/6454' > > Actually - I wouldn't use single quotes around the command line and options either... I just copy-pasted from your log excerpt... -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20110401/fb86fa59/attachment-0001.html>