Sponsored Content
Top Forums Shell Programming and Scripting Facing issue in Solaris OS in crontab for running shell script Post 302143572 by porter on Friday 2nd of November 2007 02:20:38 AM
Old 11-02-2007
Out of all the Frequently Asked Questions this must be the most Frequently Asked Frequently Asked Question.

Search this site, 99% of problems are caused by incorrect assumptions about the cron environment.

Last edited by porter; 11-02-2007 at 07:34 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

problem running shell script (for oracle export) in crontab

Hello Gurus, I've been tasked with solving a problem at my new job and I'm stumped. We've got a script that dynamically builds an oracle export parameter files and then runs export from the shell. it runs fine when using the shell, but will NOT run (fails in one spot everytime) when entered... (1 Reply)
Discussion started by: jsheehan223
1 Replies

2. Shell Programming and Scripting

issue with running script with crontab

I am facing a strange issue while running a script(eg A) from the crontab entry the script calls one more script(eg B) within it now when i run the script A manually(with nohup) it also executes the script B (embedded inside it) as expected. but when i run the script A from the crontab entry... (7 Replies)
Discussion started by: mad_man12
7 Replies

3. Shell Programming and Scripting

output file of the shell script running through crontab is deleting automatical daily.

Dear Friends, I am working on IBM AIX. I have written one script and kept in the crontab as to run daily at 11:38 AM. and the output of the script to be appended to the file generated with the month name. but my file deleting daily and the new file is creating with the output of the shell... (2 Replies)
Discussion started by: innamuri.ravi
2 Replies

4. Shell Programming and Scripting

rah issue when running from crontab

Hi All, I've prepared a script, content is- #!/bin/bash echo "HI" > /tmp1 rah ";\ df -m" | sort -u >> /tmp1 echo "BYE" >> /tmp1 I've scheduled this script to be run thorugh crontab, but the script is not being able to run rah command. The output file is coming like this- $cat... (4 Replies)
Discussion started by: NARESH1302
4 Replies

5. UNIX for Dummies Questions & Answers

Issue while running from crontab

Hi All, Here is my command which I've scheduled to be run from crontab, but it's giving error message: rah: rahhost executable needed but not in PATH My cmd is- 36 10 * * * /opt/IBM/dwe/db2/V9.5/bin/rah "df -m" >> /db2home/bculinux/Files/log/db.out 2>&1 Though I've added path... (5 Replies)
Discussion started by: NARESH1302
5 Replies

6. Shell Programming and Scripting

Part of the Shell script is not running via crontab, runs fine manually

Hello Team, As a part of my job we have made a script to automate a service to restart frequently. Script having two functions when executing it's should find the existing service and kill it, then start the same service . Verified the script it's working fine when executing... (18 Replies)
Discussion started by: gowthamakanthan
18 Replies

7. Shell Programming and Scripting

Issue in running shell script in crontab

I'm having a shell script which has to be run only once at the specified time. Shell script is like following, #!/bin/bash db2 connect to XXX > connection_status.txt This script is scheduled in crontab as following, 50 4 8 5 0 sh script.sh scheduled script is run at the specified time... (1 Reply)
Discussion started by: Rajkumar Gandhi
1 Replies

8. Shell Programming and Scripting

Shell scripting issue-running the background script

I have written the below query to genrate a telephone.I am passing account number from oracle database. I am calling 2 scripts which generate the bill 1. bip.sh (it runs in the background) 2.runXitInvoice_PROFORMA_integ bip.sh generates a number which runXitInvoice_PROFORMA_integ uses.How... (7 Replies)
Discussion started by: rafa_fed2
7 Replies

9. Solaris

Facing issue while installing weblogic on Solaris 11

Hi, i am facing issue while installing weblogic on solaris..its giving me invalid argument error. solaris is intstalled on my VM. uname -a SunOS Vishal 5.10 Generic_137138-09 i86pc i386 i86pc screenshot attached. (5 Replies)
Discussion started by: Vishal Baghla
5 Replies

10. Shell Programming and Scripting

Issue with running commands from shell script

I'm trying to copy files from a remote windows server to Unix server. I was successfully able to copy files from windows server using command prompt but when I run these commands from a script it's not working as expected. commands used: sftp user@remoteserver.com lcd local_dir cd... (3 Replies)
Discussion started by: naresh7590
3 Replies
MD2(3)							   BSD Library Functions Manual 						    MD2(3)

NAME
MD2Init, MD2Update, MD2Final, MD2End, MD2File, MD2Data -- calculate the RSA Data Security, Inc., ``MD2'' message digest LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <mdX.h> void MD2Init(MD2_CTX *context); void MD2Update(MD2_CTX *context, const unsigned char *data, unsigned int len); void MD2Final(unsigned char digest[16], MD2_CTX *context); char * MD2End(MD2_CTX *context, char *buf); char * MD2File(const char *filename, char *buf); char * MD2Data(const unsigned char *data, unsigned int len, char *buf); DESCRIPTION
The MD2 functions calculate a 128-bit cryptographic checksum (digest) for any number of input bytes. A cryptographic checksum is a one-way hash-function, that is, you cannot find (except by exhaustive search) the input corresponding to a particular output. This net result is a ``fingerprint'' of the input-data, which doesn't disclose the actual input. The MD2 routines should not be used for any security-related purpose. The MD2Init(), MD2Update(), and MD2Final() functions are the core functions. Allocate an MD2_CTX, initialize it with MD2Init(), run over the data with MD2Update(), and finally extract the result using MD2Final(). MD2End() is a wrapper for MD2Final() which converts the return value to a 33-character (including the terminating '') ASCII string which represents the 128 bits in hexadecimal. MD2File() calculates the digest of a file, and uses MD2End() to return the result. If the file cannot be opened, a null pointer is returned. MD2Data() calculates the digest of a chunk of data in memory, and uses MD2End() to return the result. When using MD2End(), MD2File(), or MD2Data(), the buf argument can be a null pointer, in which case the returned string is allocated with malloc(3) and subsequently must be explicitly deallocated using free(3) after use. If the buf argument is non-null it must point to at least 33 characters of buffer space. SEE ALSO
md2(3), B. Kaliski, The MD2 Message-Digest Algorithm, RFC 1319. RSA Laboratories, Frequently Asked Questions About today's Cryptography. HISTORY
These functions appeared in NetBSD 1.3. AUTHORS
The original MD2 routines were developed by RSA Data Security, Inc., and published in the above references. This code is a public domain implementation by Andrew Brown. BUGS
No method is known to exist which finds two files having the same hash value, nor to find a file with a specific hash value. There is on the other hand no guarantee that such a method doesn't exist. BSD
September 24, 2005 BSD
All times are GMT -4. The time now is 07:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy