Sponsored Content
Full Discussion: job generating error mails
Top Forums Shell Programming and Scripting job generating error mails Post 302241071 by manojgarg on Sunday 28th of September 2008 07:36:58 AM
Old 09-28-2008
Hi Jim,
I didn't get you. How can i enable logging by the mail agent?
Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Job Error

While running a script in an UNIX based system i came across with a job error 255.....does anyone knows what it means? TIA (5 Replies)
Discussion started by: Viegas
5 Replies

2. HP-UX

Job Error

When i run a script in a HP-UX server, it returns the job error 255. Can anyone knows what it means? TIA (1 Reply)
Discussion started by: Viegas
1 Replies

3. UNIX for Dummies Questions & Answers

how can i recd error log on my sent mails?

I am using the following command to send mail which comprises of a message body (mail_msgbody.txt), Subject(rtf attachment) and a RTF attachment. uuencode ${FILE_NAME} ${FILE_NAME} >> mail_msgbody.txt mailx -s"rtf attachement" aaa@yahoo.com < mail_msgbody.txt When I send mail ...how can I... (0 Replies)
Discussion started by: Amruta Pitkar
0 Replies

4. Shell Programming and Scripting

too many quotes in command, generating error

I am trying to go through a file with hostnames and access those hosts remotely an excute the following to get the uid of user on each of the boxes.. but i have so many quotes.. its not working.. I fudged with the \ before certain quotes, but that was unsuccessful too... What am I missing? ... (4 Replies)
Discussion started by: julesdiane
4 Replies

5. Shell Programming and Scripting

error while sending mails through MKS

#!/bin/ksh email0="dummy@company.com" emails() { # mail Generation echo "Hi" | /mapimail -s "-(Test Mail)From Production- `date`" $email0; } emails i receive the following error IDispatch::new MSMAPI.MAPISession failed: 800401f3 at... (0 Replies)
Discussion started by: Vrgurav
0 Replies

6. Shell Programming and Scripting

why is this code generating syntax error?pls help

#!/bin/sh copy() { source=`stat -c %s $1` dest=0 cd $2 while ;do cp $1 $2 & pct=`((100 * $dest) / $source )` dest=`dest+1` echo -en ".$pct%\b\b\b" sleep 1 done } echo "starting now" copy /file1 /tmp (3 Replies)
Discussion started by: wrapster
3 Replies

7. Shell Programming and Scripting

Error in cron job;

Hi All, please help me out with this problem. While running my mail_out_original.ksh in CRT window, it disconnects from the server saying not connected Here is my code : (please see the attachment) ____________________________________________________________ #!/bin/ksh ## Load... (1 Reply)
Discussion started by: shruthinagaraj
1 Replies

8. Shell Programming and Scripting

cron job error

HI am having a script file which is ok if i run from the server manually like <root@hostname:/space/canvas/home/lbs/current/internalcdrbackup/LES_CDR_Configuration/0/MSISDNcdrCount > /space/canvas/home/lbs/current/internalcdrbackup/LES_CDR_Configuration/0/MSISDNcdrCount.txt the... (2 Replies)
Discussion started by: aemunathan
2 Replies

9. Solaris

Error generating ssh-keygen

I'm trying to generate this key but getting an error "file not found" Here is the command: # ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (//.ssh/id_dsa): /export/home/bartadm/.ssh/id_dsa Enter passphrase (empty for no passphrase): Enter... (2 Replies)
Discussion started by: Kjons76
2 Replies

10. UNIX for Beginners Questions & Answers

Cron job scheduled is running once, but reports are generating twice

Team, Hope you all are doing fine I have one admin server which is being used dedicately to run cron jobs on hourly basis, fetching the details from Database which is in a different server.These cronjob are run on every hourly/5 minutes basis depending as per end user requirement.The script... (12 Replies)
Discussion started by: whizkidash
12 Replies
proto(4)						     Kernel Interfaces Manual							  proto(4)

NAME
proto - prototype job file for at SYNOPSIS
DESCRIPTION
When a job is submitted to or the job is constructed as a POSIX shell script (see at(1)). The job file is created in as follows: o creates a header describing the job as an job or a job. jobs submitted to all queues other than queue are listed as jobs. The header is: for an job, or for a job. o A set of POSIX shell commands is added to make the environment (see environ(5)) for the job the same as the current environment. o then copies text from the prototype file to the job file, except for special variables that are replaced by other text: Replaced by the current working directory. Replaced by the current file size limit (see ulimit(2)). Replaced by the current umask (see umask(2)). Replaced by the time at which the job should be run, expressed as seconds since January 1, 1970, 00:00 Coordinated Universal Time, preceded by a colon. Replaced by text read by from the standard input (that is, the commands provided to to be run in the job). o When a job is submitted to queue queue, uses the file as the prototype file if it exists. Otherwise, it uses the file EXAMPLES
The following file creates commands to change the current directory, file size limit, and umask in the job to their respective values as they existed when was originally run. These commands are inserted before the commands in the job: SEE ALSO
at(1), queuedefs(4). STANDARDS CONFORMANCE
proto(4)
All times are GMT -4. The time now is 11:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy