Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Cron and Crontab



One error... the script below appears in
/etc/cron.daily, not /etc/cron.hourly as it's a daily
report <doh> ;-)

--- Laker Netman <laker_netman@xxxxxxxxx> wrote:

> Hi James.
> 
> In my crontab file I have the following:
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 
> Under /etc/cron.hourly there is a script titled
> "hylafax" that contains:
> #!/bin/sh
> 
> /usr/sbin/faxcron | mail -s "HylaFAX Usage Report"
> faxmaster
> 
> exit 0
> 
> 
> It produces a daily report. The -s option specifies
> the subject line and, technically, is optional. So,
> syntactically both the cron entries you referenced
> are
> correct, the first lacking a subject line. They are
> just scheduled to execute at different times.
> FaxMaster (or "faxmaster", as email addresses are
> not
> case-sensitive) is the recipient, which is the alias
> the other gentleman referred too.
> 
> As far as the aliasing (actual recipient) take a
> look
> at this:
> http://www.hylafax.org/archive/1999-05/msg00148.html
> 
> Laker
> 
> P.S. You may also want to take a look at the man
> pages
> for "cron" and "mail" for additional help and info.
> 
> --- James McCall <jmccall@xxxxxxxxxxxxxxxxxxxx>
> wrote:
> 
> > Excuse me, but wha???
> > 
> > There are two lines below. In the instructions
> that
> > are in two different
> > places we are told to enter these lines in the
> > crontab file(wherever that
> > document lies). I was asking if one of these was
> > incorrect or shouldn't be
> > used. My first question was in regards to the
> > crontab file itself. Should I
> > use one that already exists on the box or create a
> > new one with "crontab
> > -e". If the latter then where exactly does that
> file
> > go? In my clumsy
> > stumbling attempts it appears to go into the /tmp
> > directory, but a dir of
> > that directory doesn't show it.
> > 
> > Please excuse the ignorance. This is like learning
> > DOS all over again. :)
> > 
> > 
> > -----Original Message-----
> > From: Tony S. Sykes
> > [mailto:Tony.Sykes@xxxxxxxxxxxxxxx] 
> > Sent: Wednesday, September 21, 2005 11:00 AM
> > To: James McCall
> > Subject: RE: [hylafax-users] Cron and Crontab
> > 
> > Only the one with the correct user will receive an
> > email. Installation will
> > create an alias, whatever the alias was needs to
> be
> > the address you are
> > sending too.
> > 
> > Tony.
> > 
> > -----Original Message-----
> > From: hylafax-users-bounce@xxxxxxxxxxx
> > [mailto:hylafax-users-bounce@xxxxxxxxxxx]On Behalf
> > Of James McCall
> > Sent: 21 September 2005 15:52
> > To: hylafax-users@xxxxxxxxxxx
> > Subject: Re: [hylafax-users] Cron and Crontab
> > 
> > 
> > Also there seems to be two conflicting commands in
> > the setup docs for
> > faxcron
> > 
> > 25 23 * * *	sh /usr/local/sbin/faxcron | mail
> > FaxMaster 
> > 
> > 0  0  * * * /usr/local/sbin/faxcron | mail -s
> > "HylaFAX Usage Report"
> > faxmaster
> > 
> > Which one is the correct one to use?
> > 
> > -----Original Message-----
> > From: hylafax-users-bounce@xxxxxxxxxxx
> > [mailto:hylafax-users-bounce@xxxxxxxxxxx] On
> Behalf
> > Of James McCall
> > Sent: Wednesday, September 21, 2005 9:57 AM
> > To: hylafax-users@xxxxxxxxxxx
> > Subject: [hylafax-users] Cron and Crontab
> > 
> > Is there an existing crontab file to use or should
> a
> > new one be created for
> > the faxqclean and faxcron proceses?
> > 
> > 
> > 
> > ____________________ HylaFAX(tm) Users Mailing
> List
> > _______________________
> >   To subscribe/unsubscribe, click
> > http://lists.hylafax.org/cgi-bin/lsg2.cgi
> >  On UNIX: mail -s unsubscribe
> > hylafax-users-request@xxxxxxxxxxx < /dev/null
> >   *To learn about commercial HylaFAX(tm) support,
> > mail sales@xxxxxxxxx*
> > 
> > 
> > 
> > 
> > ____________________ HylaFAX(tm) Users Mailing
> List
> > _______________________
> >   To subscribe/unsubscribe, click
> > http://lists.hylafax.org/cgi-bin/lsg2.cgi
> >  On UNIX: mail -s unsubscribe
> > hylafax-users-request@xxxxxxxxxxx < /dev/null
> >   *To learn about commercial HylaFAX(tm) support,
> > mail sales@xxxxxxxxx*
> > 
> > 
> > 
> > -+-+-+-+-+-+-+-+-+ Business Computer Projects -
> > Disclaimer 
> > -+-+-+-+-+-+-+-+-+ -+-+-+-+-+-+-+-+-+-
> > This message, and any associated attachment is
> > confidential.  If you have
> > received it in error, please delete it from your
> > system, do not use or
> > disclose the information in any way, and notify
> > either the sender or
> > Postmaster@xxxxxxxxxxxxxxx immediately.
> > The contents of this message may contain personal
> > views which are not
> > necessarily the views of Business Computer
> Projects
> > Ltd., unless
> > specifically stated.  Whilst every effort has been
> > made to ensure that
> > emails and their attachments are virus free, it is
> > the responsibility of the
> > recipient(s) to verify the integrity of such
> emails.
> > Business Computer Projects Ltd
> > BCP House
> > 151 Charles Street
> > Stockport
> > Cheshire
> > SK1 3JY
> > Tel: +44 (0)161 355-3000
> > Fax: +44 (0)161 355-3001
> > Web: http://www.bcpsoftware.com
> > 
> > 
> > 
> > ____________________ HylaFAX(tm) Users Mailing
> List
> > _______________________
> >   To subscribe/unsubscribe, click
> > http://lists.hylafax.org/cgi-bin/lsg2.cgi
> >  On UNIX: mail -s unsubscribe
> > hylafax-users-request@xxxxxxxxxxx < /dev/null
> >   *To learn about commercial HylaFAX(tm) support,
> > mail sales@xxxxxxxxx*
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Yahoo! Mail - PC Magazine Editors' Choice 2005 
> http://mail.yahoo.com
> 
> ____________________ HylaFAX(tm) Users Mailing List
> _______________________
>   To subscribe/unsubscribe, click
> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>  On UNIX: mail -s unsubscribe
> hylafax-users-request@xxxxxxxxxxx 
=== message truncated ===



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services