- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: At command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:18 AM
09-11-2003 06:18 AM
At command
$ at -f script.sh now
script.sh contains:
$mailx -s "Job Completed" $username<$filename
If $filename contains more than 378 characters in it, then the user will receive an e-mail with NO the subject line AND another e-mail goes to the user who ran the script with the following message :
/var/tmp/mailxCAA.....: file too large
**************************************
Cron: The previous message is the standard output and standard error of one of your at commands.
If I run this script without using 'at', it is fine. If the file sent is 377 or less characters, it is also fine. Once I go over 378 characters, I consistently get the error.
Is there some limitation when using the at command and sending an e-mail ?????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:24 AM
09-11-2003 06:24 AM
Re: At command
did you try the following ?
cat $filename | mailx -s "Job Completed" $username
I know that's quite the same, but the redirection is used in another way, and i used this always with no problem.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 06:27 AM
09-11-2003 06:27 AM
Re: At command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 07:04 AM
09-11-2003 07:04 AM
Re: At command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 07:14 AM
09-11-2003 07:14 AM
Re: At command
I don't have any insights for you, but, reading the responses so far, I'm sensing some confusion about what the actual question is.
Are you saying that the actual name of the file contains over 378 characters (I pity the poor person who has to type that out) or the contents of the file exceed 378 characters?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 07:18 AM
09-11-2003 07:18 AM
Re: At command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 07:46 AM
09-11-2003 07:46 AM
Re: At command
The filename is 5 characters, but the contents are > 378 characters and
I am running version 8.8.6 of sendmail .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 11:34 AM
09-11-2003 11:34 AM
Re: At command
I changed the ulimit value and now it is fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 01:39 AM
09-12-2003 01:39 AM
Re: At command
Declan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2003 05:05 AM
09-12-2003 05:05 AM
Re: At command
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065678246
I put this code in but still had a problem so I just hardcoded the ulimit in the .proto file to 4194303.