---------- Post updated at 12:55 PM ---------- Previous update was at 11:09 AM ----------
Not sure what's going wrong. Above solution works independently when run as a stand-alone command , but when run from within the script, it fails and no attachments are seen in the email. What we get is as mentioned above.
Any solution please........
---------- Post updated at 03:45 PM ---------- Previous update was at 12:55 PM ----------
It works when we change the order of mutt switches, i.e. put attachments at last.
Last edited by Franklin52; 12-20-2012 at 06:28 AM..
Reason: Please use code tags for data and code samples
Hi people, I am new to this forums. I have a quick question I hope one of you could help me with. I am writing a script to send attachments via email. However I am having trouble when trying to send multiple attachments. Here is the code I am using:
send_mail()
{
uuencode $TMP $TMP1 > $TMP1... (1 Reply)
Hello Everyone,
I'm trying to write ascript on AIX 5.3, that will e-mail all filles within a directory. But on executing a script , it sends only 1 file from the directory alongwith some Junk data.
I have searched whole forum and almost used all the suggestions, but still getting same problem.... (4 Replies)
I need to attach all files starting with 'BusinessReport' using mutt command.
It could be any number of files in that directory, say BusinessReport_01, BusinessReport_03, BusinessReport_04 etc.
Is there a way to attach all files where filename like BusinessReport_* and sent it using mutt... (2 Replies)
Can any body figure out how to attach the attachments mails while drafting them in MUTT form any location on my system.
I am not able to figure it out. (0 Replies)
Hello ,
I am trying to send an email with two attachments . I have tried all previous suggestion in this forum but none worked. I could send one attachment in an email by
uuencode $file "$file" | mailx -m -s "File" xxx@xx.com
but unable to send multiple attachments .
I have tried
... (8 Replies)
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
Hi
I want to attach multiple index.html, index_v2 file using mutt command
basically i want first index.html and then index_v2.html file as a body in email , these html files are test reports
I am using following command , but it is over writing , any help appreceated ;)
mutt -e... (2 Replies)
HP-UX mbhp7640 B.11.31 U ia64 4294967295 unlimited-user license
Our database builds a MIME compliant html email, then cats that to sendmail - no problem.
Due to horrible issues with the native uuencode, we long ago began using uuenview to encode our attachments - no problem. An example is... (1 Reply)
Discussion started by: bubba77
1 Replies
LEARN ABOUT SUSE
ocf_heartbeat_jboss
OCF_HEARTBEAT_JBOSS(7) OCF resource agents OCF_HEARTBEAT_JBOSS(7)NAME
ocf_heartbeat_jboss - Manages a JBoss application server instance
SYNOPSIS
jboss [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for Jboss. It manages a Jboss instance as an HA resource.
SUPPORTED PARAMETERS
resource_name
The name of the resource. Defaults to the name of the resource instance. (optional, string, default default)
console
A destination of the log of jboss run and shutdown script. (optional, string, no default)
shutdown_timeout
Timeout for jboss bin/shutdown.sh. We wait for this timeout to expire, then send the TERM and QUIT signals. Finally, the KILL signal is
used to terminate the jboss process. You should set the timeout for the stop operation to a value bigger than the sum of the timeout
parameters. See also kill_timeout. (optional, integer, default 5)
kill_timeout
If bin/shutdown.sh doesn't stop the jboss process, then we send it TERM and QUIT signals, intermittently and once a second. After this
timeout expires, if the process is still live, we use the KILL signal. See also shutdown_timeout. (optional, integer, default 10)
user
A user name to start a JBoss. (optional, string, default root)
statusurl
URL to test in the monitor operation. (optional, string, default http://127.0.0.1:8080)
java_home
Home directory of Java. Defaults to the environment variable JAVA_HOME. If it is not set, then define this parameter. (optional,
string, no default)
jboss_home
Home directory of Jboss. (required, string, no default)
pstring
With this string heartbeat matches for the right process to kill. (optional, string, default java -Dprogram.name=run.sh)
run_opts
Start options to start Jboss with, defaults are from the Jboss-Doku. (optional, string, default -c default -l lpg4j)
shutdown_opts
Stop options to stop Jboss with. (optional, string, default -s 127.0.0.1:1099)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 30s.
monitor
Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a jboss resource using the crm(8) shell:
primitive example_jboss ocf:heartbeat:jboss
params
jboss_home=string
op monitor depth="0" timeout="30s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/jboss_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_JBOSS(7)