Hi Noah,

It's probably torture trying to debug this all through cron.  
You should try the pieces independently - can you verify that 
sendmail actually works on your machine?  Try sending mail to 
[EMAIL PROTECTED] using it.

  -Ken



On Friday, August 9, 2002, at 05:37 AM, Noah Hoffman wrote:

> Hmm, still not working.  Here's what's in /var/log/system.log
>
> Aug  8 12:16:00 dhcp-192-168-66-178 CRON[4954]: (releaseb) CMD 
> (root open /Volumes/Builds/Development/perl.pl.command)
> Aug  8 12:16:00 dhcp-192-168-66-178 sendmail[4955]: 
> g78JG0eG004955: SYSERR(releaseb): collect: Cannot write 
> ./dfg78JG0eG004955 (bfcommit, uid=25, gid=25): P$
> Aug  8 12:16:00 dhcp-192-168-66-178 sendmail[4955]: 
> g78JG0eG004955: SYSERR(releaseb): queueup: cannot create queue 
> temp file ./tfg78JG0eG004955, uid=25: Per$
> Aug  8 12:16:00 dhcp-192-168-66-178 CRON[4953]: (releaseb) MAIL 
> (mailed 29 bytes of output but got status 0x0047 )
> Aug  8 12:17:52 dhcp-192-168-66-178 su: releaseb to root on /dev/ttyp1
>
>
> In crontab, I have [EMAIL PROTECTED] but I'm not 
> getting email either.  Do you know what I'm missing?  I thought 
> I was getting the 'cannot create temp file' error because I 
> wasn't root, but the crontab line is as follows:
>
> 16  12  *  *  *  root open Volumes/Builds/Development/perl.pl.command
>
> Any thoughts?
>
> Thanks,
> Noah
>
>
>
>
>
> -----Original Message-----
> From: Morbus Iff [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 08, 2002 11:37 AM
> To: Noah Hoffman; 'Rich & Michaela'; Noah Hoffman
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Launching a Perl file with Cron on OS X?
>
>
>> Now, the process launches but it remains hidden.  Is there a 
>> way to launch
>> the terminal so I can see the perl scripts running?  Or, 
>> should I redirect
>> the output?
>
> Rename the perl script to "perl.pl.command", and use "open". A 
> shell file
> with an extension of ".command" becomes double-clickable through the
> Finder. The "open" shell utility duplicates a double-click.
>
>
> --
> Morbus Iff ( i'm the droid you're looking for )
> Culture: http://www.disobey.com/ and http://www.gamegrene.com/
> Please Me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554
> icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus

Reply via email to