Sponsored Content
Top Forums Shell Programming and Scripting AIX .ksh script freezes when using the mail -s command Post 302533104 by jimbojames on Wednesday 22nd of June 2011 05:47:50 PM
Old 06-22-2011
I am still having issues with this. Can anyone suggest where I am going wrong?
 

10 More Discussions You Might Find Interesting

1. AIX

AIX server freezes on bootup

Issue: AIX server freezes on bootup. Server AIX ver 4.3.3.0 When the AIX server reboots it negotiates NIS. During startup of NFS, customer gets one or more of the following error messages: 0513-056 Timeout waiting for command response. If you specified a foreign host, see the /etc/inittab file... (1 Reply)
Discussion started by: srzaman1
1 Replies

2. UNIX for Dummies Questions & Answers

command completion in .sh or .ksh in AIX environment

How do you user command completion in .sh or .ksh in AIX environment? I know you can do it by hitting <esc><esc> in bash, but how do you do it in bourne or korn shell in AIX 5.3 environment? Thanks in advance. (1 Reply)
Discussion started by: pdtak
1 Replies

3. AIX

How to mail the output of a command in AIX

Hi, I have mastered how to mail to Windows in AIX. Can anyone tell me how I would mail the output command df -g to an email? I want to set a job in cron to mail df -g as the contents of a mail. Any ideas? Thanks John (4 Replies)
Discussion started by: jfd7000
4 Replies

4. Shell Programming and Scripting

Mail cleanup from ksh script, keeping 50 most recent msgs

I found some posts describing how to completely clean out a mailbox in Unix/Linux. But I want to keep the 50 most recent messages. Any ideas out there? Thanks! (3 Replies)
Discussion started by: OPTIMUS_prime
3 Replies

5. UNIX for Dummies Questions & Answers

AIX: mail command & server

Hi, I have to change the mail server, but I could not find the file where it is written in. I use the following command: </> echo krneki | mail -v -s "New report" receiver@our.comp Server name ("skala") can be seen in a terminal output .... receiver@our.comp ... Connecting to... (0 Replies)
Discussion started by: frajer
0 Replies

6. Shell Programming and Scripting

Calling SQL script from ksh job and send mail on some error.

Hi, I am trying to call sql script from ksh job with parameters.The parameters passed from ksh job will be used in SELECT query in sql file to SPOOL the data in extract file.My questions are: 1) How to call a sql script from ksh job with parameters? 2) How to use the parameter in sql file to... (1 Reply)
Discussion started by: anil029
1 Replies

7. Shell Programming and Scripting

Help extracting process name from ps command AIX using KSH

Hi All, Newbie script writer and I need some help! I'm grepping ps - eno THREAD >outfile This gives me loads of stuff including the proc names which appear at the end of the line. They're all 10 characters long so what I want to do is cut them (and only them) from the file and put it in... (7 Replies)
Discussion started by: Grueben
7 Replies

8. Shell Programming and Scripting

Aix .ksh for loop script.

Hi, I'm trying to write a for loop to run through a list of servers and for each server copy a file to a backup file. But I can't seem to get it to run through my server list. It work for individual servers, please see below. #!/bin/ksh SSH_USERID=khcuser webservers="server1 server2" ... (2 Replies)
Discussion started by: elmesy
2 Replies

9. Shell Programming and Scripting

AIX-ksh script ends unexpectedly

Hi, I have a ksh script running on AIX 5.3 which has sometimes a bizarre behaviour. The script runs a child script like follow. trap 'rm -f /tmp/res.log;exit 0' 2 15 run_child.sh > /tmp/res.log 2>&1 echo "run_child.sh is terminated" next instructions... rm -f /tmp/res.log ... (12 Replies)
Discussion started by: rivalgro
12 Replies

10. Shell Programming and Scripting

[Solved] AIX ksh script -d <- what does it mean?

I'm looking at a line in a script: && DRROOT="/dir1" || DRROOT="/dir2" I'm trying to understand it. Is there a "-d" command and is it seeing if /dir1 exists and, if so, set an environment variable named DRROOT to "/dir1", else set DRROOT to "/dir2" ? Thanks, -dog ---------- Post... (0 Replies)
Discussion started by: landog
0 Replies
MojoMojo::Controller::Page(3pm) 			User Contributed Perl Documentation			   MojoMojo::Controller::Page(3pm)

NAME
MojoMojo::Controller::Page - Page controller SYNOPSIS
DESCRIPTION
This controller is the main juice of MojoMojo. It handles all the actions related to wiki pages. Actions are redispatched to this controller based on MojoMojo's custom prepare_path method. Every private action here expects to have a page path in args. They can be called with urls like "/page1/page2.action". ACTIONS
view (.view) This is probably the most common action in MojoMojo. A lot of the other actions redispatch to this one. It will prepare the stash for page view, and set the template to "view.tt", unless another is already set. It also takes an optional 'rev' parameter, in which case it will load the provided revision instead. search (.search) This action is called as ".search" on the current page when the user performs a search. The user can choose to search the entire site or a subtree starting from the current page. print This action is the same as the "view" action, but with a printer-friendly template. inline Same as "view" action, but with a template that only outputs the barebones body of the page. There are no headers, footers, or navigation bars. Useful for transclusion (see MojoMojo::Formatter::Include). inline_tags (.inline_tags) Tag list for the bottom of page views. pages_viewable($c, $user, @pages) Filters an array of pages, returning only those that the given user has permission to view. list (.list) All nodes in this namespace. Computes tags, all pages, backlinks, wanted and orphan pages. subtree (.subtree) Display all pages that are part of the subtree for the current node. recent (.recent) Recently changed pages in this namespace. Also computes the most used tags. feeds (.feeds) Overview of available feeds for this node. rss (.rss) RSS feed with headlines of recent nodes in this namespace. atom (.atom) Full content ATOM feed of recent nodes in this namespace. rss_full (.rss_full) Full content RSS feed of recent nodes in this namespace. export (.export) Page showing available export options. suggest (.suggest) "Page not found" page, suggesting alternatives, and allowing creation of the page. Root::auto detaches here for actions on nonexistent pages (e.g. c<bogus.export>). search_inline (.search/inline) Search results embeddable in another page (for use with "suggest"). info (.info) Meta information about the current page: revision list, content size, number of children and descendants, links to/from, attachments. AUTHOR
Marcus Ramberg <mramberg@cpan.org> LICENSE
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2011-09-02 MojoMojo::Controller::Page(3pm)
All times are GMT -4. The time now is 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy