-----BEGIN PGP SIGNED MESSAGE-----

I am having a few problems with cron.  I have set up 5 scripts to do
faxing of ~20 recipients.  These should be run at a certain time of day,
and a certain day of the week.  The scripts are named
broadcast.day.location where day is the day of the week.  The file is at
the end of the mail, just in case it is needed.  This is the output of
crontab -l

=======================================================================
[root@proliant rdc]# crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (mycron installed on Tue Feb 15 18:09:00 2000)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
#These are the commands for the faxscripts

30 9 * * mon /faxstuff/broadcast.monday.dayton
30 9 * * tue /faxstuff/broadcast.tuesday.dayton
30 9 * * wed /faxstuff/broadcast.wednesday.dayton
30 9 * * thu /faxstuff/broadcast.thursday.dayton
30 9 * * fri /faxstuff/broadcast.friday.dayton  
[root@proliant rdc]#
=====================================================================

The scripts should run, as you can see, at 9:30 AM every day of the month
and every month, on the day specified.  They are not running.  Here is teh
mail that I get from the cron daemon:

=====================================================================
Date: Wed, 16 Feb 2000 09:30:00 -0500
From: Cron Daemon <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Cron <root@proliant> /faxstuff/broadcast.wednesday.dayton

/bin/sh: /faxstuff/broadcast.wednesday.dayton: No such file or directory
=====================================================================

I know that the files exist in the directory.  And, yes, the directory is
at the root of the system, to make it easy to find (this might not be a
legitimate argument, but unless it is why these problems are occuring,
please don't flame me).  The files are set executable as verified by ls
- -l.

I have read the cron manpage, as well as both manpages for crontab.  I
have also searched the archives for an answer, to no avail.  I have looked
in every book on my shelf that might have anything in it about the
subject.

TIA for your help.

Following is the script that is called.

#!\bin\bash
#
# broadcast.wednesday.dayton
# Written by rdcrawford<[EMAIL PROTECTED]>
#
# This is a script that will fax multiple recipiants
#
# First, we start sendfax with the options -n for no coverpage
# and -d, which is the destination.  The -n should persist across
# all destinations, and should therefore only be given once.
# The -f option is also used to manipulate the From: line to read
# "Broadcast Fax" instead of the user who invoked sendfax.  This
# must be a fullblown name with a valid e-mail address, if not, the
# hostname of the machine is appended.
# Replace filename.ps at the end of the script with the name of the
# postscript file which will be faxed.

sendfax -n -f "Broadcast Fax <[EMAIL PROTECTED]>" \
- -d "Papa John'[EMAIL PROTECTED]" \
- -d "Herald [EMAIL PROTECTED]" \
- -d "Hi-Tech [EMAIL PROTECTED]" \
- -d "Hobbs Staffing [EMAIL PROTECTED]" \
- -d "Magic Touch Dry [EMAIL PROTECTED]" \
- -d "Master [EMAIL PROTECTED]" \
- -d "Merit Loan [EMAIL PROTECTED]" \
- -d "Middle Tennessee [EMAIL PROTECTED]" \
- -d "Morgan [EMAIL PROTECTED]" \
- -d "NAPA Auto [EMAIL PROTECTED]" \
- -d "Orkin Pest [EMAIL PROTECTED]" \
- -d "Polyloom [EMAIL PROTECTED]" \
- -d "Prebul Plymouth [EMAIL PROTECTED]" \
- -d "Rhea County [EMAIL PROTECTED]" \
- -d "Rhea County National [EMAIL PROTECTED]" \
- -d "Rhea County High [EMAIL PROTECTED]" \
- -d "Rhea Tool and [EMAIL PROTECTED]" \
- -d "[EMAIL PROTECTED]" \
- -d "Shipley Basket [EMAIL PROTECTED]" \
- -d "Bradley [EMAIL PROTECTED]" \
- -d "[EMAIL PROTECTED]" \
- -d "Papa John'[EMAIL PROTECTED]" \
dayton.ps                     

<===============================================>
Robert D. Crawford
mailto:[EMAIL PROTECTED]
http://dennysprojects.virtualave.net
pgp key at pgpkeys.mit.edu
<===============================================>



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQEVAwUBOKuG9zbRA6YK8j8BAQGsBwf/blL713h4iYx36YIDGRzoDwIk4S0+TijU
0wjEo+FWYitokyJBIsUAV8entsL5DjRsqcx/CWHIQ21Wado+hE/E24i6YElK3z+O
bBRyLZu9wV+aFpMuAFjcteQP4yymFGGgmhyQEynrnOOnz/tVuqvdmsAcDpD/YA50
FFHoR7pglcE+UNf5t+Glgu/lx5Fp/RzXmG+qyf3nu/5KvqMRRKduxuEwj0oYDvub
FJmhk4aHMrnPyymBIA0P765+64nuajhpcBG13tQ2FcgJDFOL6gbGjt6lzbjuLbZ7
GFnAo9N0LxsDgl+LJOU6hgSGsUSlNiNXBBEwuT2iIe9oEsZNdNC/iw==
=63m3
-----END PGP SIGNATURE-----



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to