HylaFAX The world's most advanced open source fax server

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

[hylafax-users] re[2]: re[2]: add date and timestamp to e-mail notification



Thanks Bodo,
I agree that I need to learn script programming.  As a linux newbie, I felt pretty good about getting hylafax running, but notify and notify.awk are very scary still.
Thank you for pointing me in the right direction.
Dave

> Am 2006.03.02 18:46 schrieb(en) Dave Butcher:
> Thanks Bodo,
> Don't I have to define `date` first?  How do I do this?

Hello Dave,

if you want to use a Linux or UNIX system I suggest you learn some  
(more) shell script programming.

`date` means the shell calls the "date" command and substitutes  
"`date`" with the output of this command. You don't have to define  
"date" but nou need to have a "date" command.

You have to use the correct quoting characters. (backquote / backtip /  
gravis accent)

> If I just change the script as you suggest, it doesn't seem to work.
> (I haven't found a specific error yet, but now I'm not receiving any
> confirmation e-mail...)

In order to find the bug you can call the script manually. HylaFAX  
should show the exact command line in the logfile.


Bodo

____________________ 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*



<




---------- Original Message ----------

FROM:      Bodo Meissner <bodo@xxxxxxxxx>
TO:        hylafax-users@xxxxxxxxxxx
DATE:      Thu, 02 Mar 2006 19:06:55 +0100

SUBJECT:   Re: [hylafax-users] re[2]: add date and timestamp to e-mail notification

Am 2006.03.02 18:46 schrieb(en) Dave Butcher:
> Thanks Bodo,
> Don't I have to define `date` first?  How do I do this?

Hello Dave,

if you want to use a Linux or UNIX system I suggest you learn some  
(more) shell script programming.

`date` means the shell calls the "date" command and substitutes  
"`date`" with the output of this command. You don't have to define  
"date" but nou need to have a "date" command.

You have to use the correct quoting characters. (backquote / backtip /  
gravis accent)

> If I just change the script as you suggest, it doesn't seem to work.
> (I haven't found a specific error yet, but now I'm not receiving any
> confirmation e-mail...)

In order to find the bug you can call the script manually. HylaFAX  
should show the exact command line in the logfile.


Bodo

____________________ 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*




Project hosted by iFAX Solutions