View | Details | Raw Unified
Collapse All | Expand All

(-) faxrunq_old (-3 / +3 lines)
 Lines 243-249    Link Here 
	$echo "Status "`date`" successfully sent" >>JOB
	$echo "Status "`date`" successfully sent" >>JOB
	# update accounting log
	# update accounting log
	$echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S`"|$AH|success" >>$FAX_ACCT
	$echo `dirname $job`"|$MAIL_TO|| $PHONE |0|"`date '+%Y%m%d %H:%M:%S'`"|$AH|success" >>$FAX_ACCT
	# send mail, if requested
	# send mail, if requested
	if [ -n "$do_mail_s" ] ; then
	if [ -n "$do_mail_s" ] ; then
 Lines 314-320    Link Here 
	if [ -n "$suspend" ]
	if [ -n "$suspend" ]
	then
	then
	    # update accounting log (final)
	    # update accounting log (final)
	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT
	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT
	    # send mail, if requested
	    # send mail, if requested
	    if [ -n "$do_mail_f" ] ; then
	    if [ -n "$do_mail_f" ] ; then
 Lines 347-353    Link Here 
	    mv JOB JOB.suspended 2>/dev/null
	    mv JOB JOB.suspended 2>/dev/null
	else					# do not delete job yet...
	else					# do not delete job yet...
	    # update accounting log (intermediate)
	    # update accounting log (intermediate)
	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT
	    $echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d %H:%M:%S'`"|$AH|fail $status: $why" >>$FAX_ACCT
	    # call update handler, if requested
	    # call update handler, if requested
	    if [ -n "$exec_pgm_u" ] ; then
	    if [ -n "$exec_pgm_u" ] ; then