I'm not sure why that would cause the error that you saw, but in any case I think you might have another problem: you're script uses "~" to access the home directory and the home directory is not defined in the environment in cron.
Use "/home/yourlogin/..." instead. John Mort wrote: > On Tue, Apr 15, 2008 at 11:48 AM, Mark Donoghue <[EMAIL PROTECTED]> wrote: > > > > Hi John, > > > > > > On Apr 15, 2008, at 11:38 AM, John Mort wrote: > > >> To: [EMAIL PROTECTED] > > >> Subject: Cron <[EMAIL PROTECTED]> perl ~/scripts/flickr/buildgallery.pl > > >> > /dev/null 2>$1 > > >> Content-Type: text/plain; charset=ANSI_X3.4-1968 > > > > Shouldn't that dollar-sign in the cron command be an ampersand? > > > > -Mark > > [EMAIL PROTECTED] > > Haha, you're right. I had two other entries using the ampersand right > next to it too. Hopefully fixing that will solve the problem. > > -- > John D. Mort > http://john.mort.net > _______________________________________________ > Mid-Hudson Valley Linux Users Group http://mhvlug.org > > http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug > Upcoming Meetings (6pm - 8pm) MHVLS Auditorium > > Mar 5 - Wearable Linux Computing > Apr 2 - Building a Kernel the Debian / Ubuntu way > May 7 - Setting up a platform-independent home/small office network using > Linux > Jun 4 - TBD > Jul 2 - KVM (Tenative) > ============================================================================= michaelMuller = [EMAIL PROTECTED] | http://www.mindhog.net/~mmuller ----------------------------------------------------------------------------- Lokah Samasta Sukhino Bhavantu - May all beings everywhere be happy and free. And may my own thoughts and actions contribute to that happiness and freedom. ============================================================================= _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Mar 5 - Wearable Linux Computing Apr 2 - Building a Kernel the Debian / Ubuntu way May 7 - Setting up a platform-independent home/small office network using Linux Jun 4 - TBD Jul 2 - KVM (Tenative)
