HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] problem wih relayfax and schedule option



On 2004.09.20 03:19 cont wrote:

i.e.:  if i send a fax with this time shedule  "22 sept 2004 01:00 am"
(relay tag format-> SCHEDULE: 10/21/2004 01:00 AM)
the hylafax server will send it the 25 aug 2005.

procmail: Executing "grep ^SCHEDULE: | sed
's/^.*\(..\).................$/\1/g' | sed   -e 's/01/Jan/g' -e
's/02/Feb/g' -e 's/03/Mar/g' -e 's/04/Apr/g'        -e 's/05/May/g' -e
's/06/Jun/g' -e 's/07/Jul/g' -e 's/08/Aug/g'  -e 's/09/Aug/g' -e
's/10/Oct/g' -e 's/11/Nov/g' -e 's/12/Dec/g'"
procmail: Assigning "SCHEDMO=Aug"
procmail: Executing "grep ^SCHEDULE: | sed
"s/^.*...\(.......\).\(........\)$/\2 $SCHEDMO \1/g""
procmail: Assigning "SCHEDULE=01:00 AM Aug 22/2004"

Change this line:


grep ^SCHEDULE: | sed "s/^.*...\(.......\).\(........\)$/\2 $SCHEDMO \1/g"

To be:

grep ^SCHEDULE: | sed -e "s/^.*...\(.......\).\(........\)$/\2 $SCHEDMO \1/g" -e 's/\/.*//g'

Lee.

____________________ 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