RE: Launching a Perl file with Cron on OS X?

2002-08-08 Thread Noah Hoffman
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

Re: Launching a Perl file with Cron on OS X?

2002-08-08 Thread drieux
On Wednesday, August 7, 2002, at 07:15 , Ian Ragsdale wrote: On 8/7/02 8:06 PM, Noah Hoffman [EMAIL PROTECTED] wrote: Does anyone know how to do this? I've added my lines to the crontab file for root in /private/etc. They look something like this: 002 * * * root

Re: Launching a Perl file with Cron on OS X?

2002-08-08 Thread drieux
On Thursday, August 8, 2002, at 12:37 , Noah Hoffman wrote: 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

RE: Launching a Perl file with Cron on OS X?

2002-08-08 Thread Noah Hoffman
It turns out that many of the options I've been given only work when the Terminal isn't already launched. I ended up with the following crontab job 15 2 * * * open -a Terminal.app /Volumes/Builds/Development/build.pl So my next and hopefully last question is, does anyone know why this

Re: Launching a Perl file with Cron on OS X?

2002-08-08 Thread Rich Michaela
Noah, What does your build.pl script do? If it requires a controlling tty, that would explain why you have to run it in a terminal window. If it fails when terminal is already open, it's probably because you can't run multiple instances of terminal. For example if you already have terminal

Re: Launching a Perl file with Cron on OS X?

2002-08-08 Thread Ken Williams
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: