Sponsored Content
Top Forums Shell Programming and Scripting issue invoking shell script using cron, even with proper file permission Post 302367349 by Scott on Monday 2nd of November 2009 09:54:27 AM
Old 11-02-2009
You're not using tcsh. You're using ksh.

Errors normally go to the mailbox of whoever runs the job.

Perhaps you could say /bin/date, instead of just date.

(as well as thegeek's suggestion about the output path)
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Wrong Shell Invoking My Script On Linux

I have a shell script that does NOT have the '#!' line at the top. It is written for ksh. The shell in my passwd entry is '/usr/bin/ksh' and my SHELL env variable is '/usr/bin/ksh'. Now, here's the issue. I invoke the script on Solaris with './myprog'. This works fine. I also run the same... (3 Replies)
Discussion started by: kowrip
3 Replies

2. Shell Programming and Scripting

invoking one shell script from other

hi, i am one day old in shell scritpting. how to invoke one shell script from the other? For eg.i have two shell scripts A.sh and B.sh. Inside A.sh i need to invoke B.sh and the return code of A.sh should be the value returned by B.sh. it would be better if you provide any sample shell... (3 Replies)
Discussion started by: ajay xavier
3 Replies

3. Shell Programming and Scripting

Invoking Shell Script via php

list me commands to invoke a shell script from php once the submit button is clicked in the php page. Requirement is Once a submit button is clicked it should run a script that displays the outcome of the script in a html/php. Please help. Thanks in Advance, BubeshJ (2 Replies)
Discussion started by: bubeshj
2 Replies

4. Shell Programming and Scripting

Shell script for accessing a file in the network drive and invoking oracle sql loader

Hi, Please let me know if anybody is having a solution handy for the below tasks... It would be helpful if somebody can resolve my query. I am new to unix and oracle environment and looking for some online reference for completing a task. Task: Check if the network drive exists Check... (0 Replies)
Discussion started by: sayydevara
0 Replies

5. Shell Programming and Scripting

invoking a shell script inside cgi shell script

Hi, I have an HTML form through which I get some text as input. i need to run a shell script say script.sh inside a perl-cgi script named main_cgi.sh on the form input. I want to write the contents of the form in a file and then perform some command line operations like grep, cat on the text... (2 Replies)
Discussion started by: smriti_shridhar
2 Replies

6. UNIX for Advanced & Expert Users

Invoking shell script with perl command.

Hi All, I am using the following command to invoke the shell script from a perl command. perl -i.bak -pe'BEGIN { $cmd = "/opt/coreservices/tomcat-5.5.9/bin/digest.sh -a sha"; } s/(password=")(*)/ $1.`$cmd $2|cut -d: -f2|tr -d "\n"` /e ' $CATALINA_HOME/conf/tomcat-users.xml I need... (1 Reply)
Discussion started by: nua7
1 Replies

7. Shell Programming and Scripting

Invoking one shell script from another unix box

Hello All, I have a shell script A which is in one unix box. Also i have a script B in another unix box. Now i'm struggling to find a way to invoke A shell script from B shell script. Is it possible to do this in any way..Request you anybody please help me in this point. Thanks in advance. (6 Replies)
Discussion started by: RSC1985
6 Replies

8. Infrastructure Monitoring

Proper permission /etc/snmp/snmpd.conf

Hi All, I'm hardening my linux. And I came across with this file. /etc/snmp/snmpd.conf It's current mod is 644 with root:root ownership and group. Can I make this 640 without hurting the OS? Meaning no public read access. Does other resources need to read to it? Thanks and more... (1 Reply)
Discussion started by: itik
1 Replies

9. Shell Programming and Scripting

Problem invoking shell script

whats wrong here?! ________________ #!/bin/sh # FILE: clean_dirs # GOAL : To clean up directories used in Oracle processing # LANGUAGE : shell script (sh) # PARAMETERS : Input_File # 11/07/02 acri - modified to cd into the directory so it will... (7 Replies)
Discussion started by: gillraj
7 Replies

10. Shell Programming and Scripting

Invoking Application in Shell Script

Hi All, I have a scenario : 1. A list of servers naming server21, server 22, server 23 etc. This list of servers is separate for my environments. Env1 has 3 server Env2 has 5 serves Env3 has 10 servers 2. Each server accesses application through which I want to invoke some method. So... (7 Replies)
Discussion started by: ankur328
7 Replies
CiderWebmail::Model::IMAPClient(3pm)			User Contributed Perl Documentation		      CiderWebmail::Model::IMAPClient(3pm)

NAME
CiderWebmail::Model::IMAPClient - Catalyst Model DESCRIPTION
Interface to the IMAP Server You should *really* read rfc3501 if you want to use this. METHODS
new() creates a new CiderWebmail::Model::IMAPClient _die_on_error($c) die if the last IMAP command sent to the server caused an error this sould be called after every command sent to the imap server. disconnect disconnect from IMAP Server, if connected separator($c) Returnes the folder separator folder_tree($c) Return all folders as hash-tree. folder_sort custom sort for folders always put INBOX on top select($c, { mailbox => $mailbox }) selects a folder message_count($c, { mailbox => $mailbox }) returnes the number of messages in a mailbox unseen_count($c, { mailbox => $mailbox }) returnes the number of unseen messages in a mailbox check_sort($sort) Checks if the given sort criteria is valid. get_folder_uids($c, { mailbox => $mailbox, sort => $sort, range => $range }) Returns a MessageSet object representing all UIDs in a mailbox The range option accepts a range of UIDs (for example 1:100 or 1:*), if you specify a range containing '*' the last (highest UID) message will always be returned. get_headers_hash($c, { uids => [qw/ 1 .. 10 /], sort => [qw/ date /], headers => [qw/ date subject /], mailbox => 'INBOX' }) returnes a array of hashes for messages in a mailbox o uids (arrayref): a list of uids (as described in RFC2060) to fetch o sort (arrayref): sort criteria (as described in RFC2060). for example: [ qw/ date / ] will sort by date, [ qw/ reverse date / ] will sort by reverse date o headers (arrayref, required): a list of mail-headers to fetch. o mailbox (required) search() searches a mailbox returns a arrayref containing a list of UIDs get_headers_string($c, { mailbox => $mailbox, uid => $uid }) returnes the fullheader of a message as a string all_headers($c, { mailbox => $mailbox, uid => $uid }) fetch all headers for a message and updates the local headercache get_headers($c, { mailbox => $mailbox }) fetch headers for a single message from the server or (if available) the local headercache mark_read($c, { mailbox => $mailbox, uid => $uid }) mark a messages as read mark_answered($c, { mailbox => $mailbox, uid => $uid }) mark a message as answered bodypart_as_string($c, { mailbox => $mailbox, uid => $uid, parts => [ $part ] }) fetches body part(s) of a message - part IDs according to the bodystructure of the message get_bodystructure($c, { mailbox => $mailbox, uid => $uid }) fetches bodystructure of a message. returns a Mail::IMAPClient::BodyStructure object - this might change when we parse this into something more usefull message_as_string($c, { mailbox => $mailbox, uid => $uid }) return a full message body as string delete_messages($c, { mailbox => $mailbox, uid => $uid }) delete message(s) form the server and expunge the mailbox append_message($c, { mailbox => $mailbox, message_text => $message_text }) low level method to append an RFC822-formatted message to a mailbox move_message($c, { mailbox => $mailbox, target_mailbox => $target_mailbox, uid => $uid }) Move a message to another mailbox create_mailbox($c, { mailbox => $mailbox, name => $name }) Create a subfolder delete_mailbox($c, { mailbox => $mailbox }) Delete a complete folder AUTHOR
Stefan Seifert and Mathias Reitinger <mathias.reitinger@loop0.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 2012-06-16 CiderWebmail::Model::IMAPClient(3pm)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy