Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wedged(8) [linux man page]

WEDGED(8)						      System Manager's Manual							 WEDGED(8)

NAME
wedged - HylaFAX modem wedged script SYNOPSIS
/var/spool/hylafax/bin/wedged devid device DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5). The default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch then the script will attempt to disable any faxgetty processes spawned by the init(8) process for the problematic modem. In addition the faxq(8) process automatically disables use of the modem for servicing outbound jobs. The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac- ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem. If there exists an executable file /var/spool/hylafax/etc/resetmodem then that file will be executed upon execution of the wedged script in an effort to recover the modem. FILES
/usr/lib/sendmail for delivering mail SEE ALSO
faxq(8), hylafax-config(5) October 3, 1995 WEDGED(8)

Check Out this Related Man Page

WEDGED(8)						      System Manager's Manual							 WEDGED(8)

NAME
wedged - HylaFAX modem wedged script SYNOPSIS
/var/spool/hylafax/bin/wedged devid device DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5). The default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch then the script will attempt to disable any faxgetty processes spawned by the init(8) process for the problematic modem. In addition the faxq(8) process automatically disables use of the modem for servicing outbound jobs. The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac- ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem. If there exists an executable file /var/spool/hylafax/etc/resetmodem then that file will be executed upon execution of the wedged script in an effort to recover the modem. FILES
/usr/lib/sendmail for delivering mail SEE ALSO
faxq(8), hylafax-config(5) October 3, 1995 WEDGED(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Add Disclaimer in the mail automatically

Hi All, I have been given a task for adding a disclaimer automatically for all our outgoing emails from our unix machine. Is there any config file so that the disclaimer will be added into all emails instead of using a script to send the email with the disclaimer? Pls help Thank you! ... (4 Replies)
Discussion started by: foxychoi0330
4 Replies

2. UNIX for Advanced & Expert Users

find files onder than 15 minutes

Hi Friends, i have to write a script to raise a flag if there are any files that are older than 15 minutes in the directory.The directory is supplied as the parameter to the script. please help with a sample script. Thanks in advance veera (11 Replies)
Discussion started by: sveera
11 Replies

3. UNIX for Dummies Questions & Answers

Striping process variable

Hello. I would like to strip out the process name from the ${0##*\} variable. So that if I have a script named "mytest.script" the variable would be populated with just "mytest" I have tried doing a substring but it doesnt seem to work. name=`expr match "${0}" : './*\(/*.\)'` Doing this... (4 Replies)
Discussion started by: new9021
4 Replies

4. Shell Programming and Scripting

send mail once string is seen

I need to write a script that when it sees the following string in a log file, it emails a group of people SQLException: ORA-12157: TNS:internal network communication error im a newb to scripting, any ideas would be appreciated (14 Replies)
Discussion started by: csaunders
14 Replies

5. Shell Programming and Scripting

How to process from middle of a file?

Hi There. I have a file like this . a nnnn sds b ssss fdefd c sdfd dsfd sdfds ... ... Summary t1 t2 t3 t4 s1 s2 s3 s4 f1 f2 f3 f4 .. How to use awk to begin process this file from the line that contains "Summary"? Thanks! louis (12 Replies)
Discussion started by: javacore
12 Replies

6. UNIX for Dummies Questions & Answers

Problems in generating the mail from cron -- very urgent help me

Hi, I wrote a script which generates a mail automatically under certain condition. When i execute the script manually in unix the script is getting executed and the condition works accordingly and the mail is also generated. But when it is pu into cron the mail is not generated and the... (4 Replies)
Discussion started by: thiru_cs
4 Replies

7. UNIX for Dummies Questions & Answers

send emails

hi guys I need to send emails to some accounts 1. I need sendmail up and running right? 2. I need my local sendmail to use an existing SMTP server to send emails (10.x.x.x)? in that case what I need to configure to send emails? since using mail myaccount@companyame.com is not sending emails... (3 Replies)
Discussion started by: karlochacon
3 Replies

8. Shell Programming and Scripting

mailx script to do multiple emails

I am looking for a script that I can use with mailx to do the following: 1. Grab usernames from a flat file (one at a time) 2. Attach a file to the email and mail out. Thanks. Cubefeed (3 Replies)
Discussion started by: CubeFeed
3 Replies

9. Shell Programming and Scripting

PHP Mail Script Takes Hours to Send emails

guys, i have a php script that i wrote that takes hours to send emails to recipients. i can't post the content of this script in here because the script contains some very important confidential information. so my question is, why is it that when the php script runs, it runs successfully, but... (3 Replies)
Discussion started by: SkySmart
3 Replies

10. Shell Programming and Scripting

Help with grep and read function in a BASH Script

I'm putting together a script that will search my mail archives for emails that meet certain criteria and output the files to a text file. I can manually cat that text file and pipe it into sendmail and it will work (i.e. cat /pathtofile/foo.txt | sendmail -t me@company.com) My script sends... (7 Replies)
Discussion started by: binary-ninja
7 Replies

11. Shell Programming and Scripting

Help with .sh script

Hi there, simple one hopefully.... I have a crontab entry that uses a .sh file. The .sh file essentially runs some mysql, writes the results to a text file and then emails it to specified emails. Currently this works, but will email even if there are no results returned in the query. Is... (4 Replies)
Discussion started by: traxdata12
4 Replies

12. AIX

Not able to receive emails after job execution

Hi, we've configured mail on DB2 data studio DSWC console. (gave mail relay server details) it used to work fine. like whenever we schedule backup jobs from DB2 side, we used to get emails after job completion. for some reason, it stopped working now. Please see the below info messges... (8 Replies)
Discussion started by: aaron8667
8 Replies

13. UNIX for Dummies Questions & Answers

Inserting data from another source

Hi, I am creating a script using Vi to go out on emails. Each email has is own set of attachments, each with a unique number eg Q12343 and Q67897. I have managed to get the script to put in the first attachment customer number ie Q12343, but can't figure out how to get the second one to come in ie... (4 Replies)
Discussion started by: Cheryl1234
4 Replies

14. Shell Programming and Scripting

Help with 56kbit Modem Scripting

Hi all, I have been working on an unique script of my own, which should be able to communicate with a classic 56kbit modem. I am quite a newbie to the scripting, but I suppose I am slowly making a progress. At the beginning I had no idea how I was supposed to communicate with the modem. I... (7 Replies)
Discussion started by: krustowski
7 Replies

15. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies