Sponsored Content
Top Forums UNIX for Dummies Questions & Answers probs executing crontab script Post 302287818 by JamesGoh on Sunday 15th of February 2009 07:37:30 PM
Old 02-15-2009
Ok I realised that some causes of the error was not removing the . when specifying the executable (as Im not running it from the directory the executable is in) and using the machine's timestamp (I was using a remote machine's timestamp)

However, the script only worked when we did the adjustements from my boss's machine (he has remote access to the machine the cron script is run from) and not mine.


Im still at lost as to what I could be doing wrong ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

oracle probs on HPUX11

Hi all we r using hpUX11.00 9000 sever as oracle 8i db server... But the problem is we have 4 instances of dbs but upto my knowledge there are only to ports available for TNS listen... how can i configure or get wht ever it may be the other two ports for tns listener......... ... (2 Replies)
Discussion started by: Prafulla
2 Replies

2. Shell Programming and Scripting

probs compiling lex

this is my lex file ------------ test.l %% printf("%c",yytext+'a'-'A');.ECHO; how do i compile it $ lex test.l cc lex.yy.c -o test -ll <------| | if this is correct do i add this line--------| @the command line or does it... (0 Replies)
Discussion started by: sinner
0 Replies

3. UNIX for Dummies Questions & Answers

copy probs

need help....just wanna copy all files with no extensions but with tree-informations to one dir first I make a new directory with all foldertrees...like find / -name "*" -type d >a1 sed -e 's/^/new/g' <a1 >b1 mkdir -p `cat a1` then I wanna copy all specific files with no... (12 Replies)
Discussion started by: svennie
12 Replies

4. Solaris

More SSH probs ...

Server 1 SSH Version Sun_SSH_1.0 Server 2 OpenSSH_3.8.1p1 Server 3 OpenSSH_3.8p1 I created the rsa keys on server1. Public and private. I copied the id_rsa.pub file to server2 and server3 and appended this to the authorized_keys file in the .ssh directory on both. (All servers using the root... (2 Replies)
Discussion started by: frustrated1
2 Replies

5. Shell Programming and Scripting

Overlapping(executing time) jobs in crontab

I do not have the luxery of a server that i can try on, so i had to post my qn here. Say i have two jobs in the cron table, the jobs are scheduled 2 mins apart. Assuming the first jobs does a lot of operations and takes > 2 mins. Will the second job be executed? Will Unix actually have a queue... (3 Replies)
Discussion started by: new2ss
3 Replies

6. Shell Programming and Scripting

Problem with executing a script scheduled in crontab

Hi I have written a shell script(in Solaris) in which following logic is there..... i=1 while read control do key=`echo $control | awk -F$DELIMITOR '{ print $1 }'` echo "Key Values" ${key} i=`/usr/bin/expr $i + 1` done < $CONFPATH/$CONFFILE when i execute it at prompt it... (4 Replies)
Discussion started by: Amardeep
4 Replies

7. UNIX for Advanced & Expert Users

Executing in crontab

Hi, if I launche this at commande line It is OK : $ /home/oracle/anaschxt_A01_5_15_25_plemae.sh but if I put it in crontab : Like this : I have this error : /home/oracle/anaschxt_A01_5_15_25_plemae.sh: sqlplus: not find. The script is : +17 ... (2 Replies)
Discussion started by: big123456
2 Replies

8. UNIX for Dummies Questions & Answers

hi probs with rm command

hi guys... i m using rm *.zip or rm -rf *.zip while removing from a server path recursively, i m getting "Remove directory operation failed." if i use rm* .zip i m getting as invalid command and none of the files are removed.. please help where m i wrong when i execute the... (13 Replies)
Discussion started by: madhu_aqua14
13 Replies

9. Shell Programming and Scripting

Script not executing in CRONTAB

Hi, I have written a script for file scan : #!/bin/sh find . -name "common.log.diff" > /dev/null 2>&1 if ; then cp common.log common.log.diff diff common.log common.log.diff > DIFFERENCE.log cp common.log common.log.diff grep "ERROR" DIFFERENCE.log if ; then echo "1" >... (6 Replies)
Discussion started by: himvat
6 Replies

10. Debian

Problems with Crontab not executing scripts after edit

Hi all I installed Debian and i have a few scripts that outputs what is happening. The wierd part...after fresh install all works ok but after i open or edit Crontab it stops executing the scripts...and scripts runs manually so its not a problem with scripts...what happens is that i usually... (3 Replies)
Discussion started by: ro0t3d
3 Replies
EFINGERD(8)						      System Manager's Manual						       EFINGERD(8)

NAME
efingerd - another finger daemon for linux SYNOPSIS
efingerd [-t X] [-f] [-n] [-u] [--help] [--version] efingerd should be run from inetd. DESCRIPTION
efingerd is another finger daemon, giving you complete control over what are you going to display about your computer. OPTIONS
--help Show summary of options and exit. --version Show version and exit. -t X Lifetime for spawned services (in seconds) ex: -t 25 maintain connections for up to 25 seconds (default: -t 60) -n Do not lookup addresses, use IP numbers instead -f Do not display users' full names. -u Ignore user-specific .efingerd file USAGE
If you are just an ordinary user and efingerd is already installed by your friendly administrator, you can take the advantage of it by mak- ing executable .efingerd in your home directory (it can be anything - from single shell script to a program in super-hyper-extra-object oriented language - only speed makes a difference). This program takes two arguments, the first is the name of remote user fingering you (or (null) if his/her/its system does not run ident), the second one is address of his computer (or ip number, if efingerd is installed with option -n). Standard output of this program is then displayed to the person fingering you. Look at examples/.efingerd for a nice example. Following executables are providing information about your machine to the fingerer: /etc/efingerd/list what to display when somebody does finger @your.machine /etc/efingerd/luser what to display when somebody fingers user on your machine, and the fingered user does not have ~/.efingerd file /etc/efingerd/nouser what to display when somebody fingers non-existent user on your machine If the local user has file .efingerd in his/her/its home directory, and it is readable by the daemon, it will be executed and it's output will be served to the fingerer. These are normal programs, displaying on standard output desired information. These programs are called with following parameters: $1 - identity of remote user, (null) if his/her/its system is not running ident $2 - address of remote machine (IP number if it has not reverse DNS entry or you specified -n) $3 - name of local user being fingered Look at examples/ for examples. Don't forget that these programs must be executable by efingerd daemon. SEE ALSO
finger(1), fingerd(8) AUTHOR
Radovan Garabik (garabik@fmph.uniba.sk) BUGS
file .efingerd in user's home directory must be executable and readable by UID efingerd runs under to work. EFINGERD(8)
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy