David A. Harding on 24 Aug 2008 17:00:57 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Why does it produce a silent error when run from crontab?

On Sun, Aug 24, 2008 at 07:10:03PM -0400, Casey Bralla wrote:
> I'm wondering if the libraries used by jpegtopnm aren't being missed
> in the crontab environment somehow. Got any ideas how I could test
> for that?

The following command will run "program" without any environmental

	env -i program

You can prefix your program name with env -i in both the shell and the
crontab entry.

David A. Harding            Website:  http://dtrt.org/
1 (609) 997-0765              Email:  dave@dtrt.org
                        Jabber/XMPP:  dharding@jabber.org
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug