crond likes full pathnames is my first thought. Thats likely why it works from the command line and not crond.
Tom >Any ideas why the following won't actually send email when run from cron: > >#!/usr/bin/perl ># > >open(SENDMAIL,"|sendmail $recipient"); >print SENDMAIL "From: WVFD EMS Dispatch <[EMAIL PROTECTED]>\n"; >print SENDMAIL "To: WVFD EMT <$recipient>\n"; >print SENDMAIL "Subject: Possible EMS call\n"; >print SENDMAIL "\n"; >print SENDMAIL "SAEMS case $case at $address for $desc.\n"; >print SENDMAIL "SAEMS is sending $units units\n"; >close(SENDMAIL); > > >I'm trying to tie pager notification to a website, and it runs fine on the >command line, but not from cron. Assume that all variables are properly >populated. > >Thanks, > >Pete > >-- >Peter J. Templin, Jr., CCNA, CCDA >VP Networking > >On-Line Internet Services - URDirect.net >A division of Global On-Line Computers >5606 Randolph Blvd [EMAIL PROTECTED] >San Antonio, TX 78233 (210)692-9911 > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]