10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello gurus,
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
#!/bin/ksh
db2... (3 Replies)
Discussion started by: okonita
3 Replies
2. Shell Programming and Scripting
When i am working with cron i given the command as crontab - e | grep runjob.sh.I though my command is wrong and i closed it by ctrl+D.After that when i need to open the cron with crontab -e its not opening its giving some number 22667 and when i given crontab -l its working fine i can see all... (5 Replies)
Discussion started by: bhas85
5 Replies
3. AIX
Hi!
I have useud SMIT to configured my static adress for AIX but when I restart the AIX the ipadress is not shown when I print netstat -in or ifconfig -a.
I have to configure the ip whit smit to have it start!
How can I starting the ip during boot? (6 Replies)
Discussion started by: peter.olofsson
6 Replies
4. Shell Programming and Scripting
Hi i am new here and have a quick question.
i am receiving ./project.sh: line 12: syntax error near unexpected token `newline'
./project.sh: line 12: `echo "`date +"%F %R"` `md5sum /etc/passwd`" >> '
error message
here is my script. could you please help!
#!/bin/bash
# PROGRAM:... (4 Replies)
Discussion started by: mas1888
4 Replies
5. UNIX for Dummies Questions & Answers
I'm using Red Hat and I need to get cron working and I'm not sure what the problem is. As a test I've done the following:
1) In /etc/cron.d I've created a file called date with the following contents
2) */1 * * * * root date >> /root/thedate
3) This works perfectly. It sends the date every... (1 Reply)
Discussion started by: kerpm
1 Replies
6. UNIX for Advanced & Expert Users
Hi!
My unix os version is OSF1 CP1 V4.0 878 alpha.
It startup normally but it restarts within 5 sec.
I would like to know how to solve .
Please reply to me.
Thanks .
akzin (2 Replies)
Discussion started by: akzin
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I've just done a school boy error.
I was trying to edit the crontab but instead of using:
crontab -e
I used crontab -r without realising. Then went to look at the crontab but ntohing their. Looked int he manual and -r removed the crontab.
Is their any way of getting this back??
... (3 Replies)
Discussion started by: tez
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to run my shrip for every 30 min..
if i enter crontab -l i am getting following..
00,10,20,30,40,50 * * * * /home/arbuser/temp2/perform/per.sh
00,15,40,35,50 * * * * sh home/arbuser/temp2/perform/per.sh
if I enter like this :
ps -ef |grep cron
root 311454 1 0... (3 Replies)
Discussion started by: redlotus72
3 Replies
9. UNIX for Dummies Questions & Answers
In freebsd when I do crontab -l I get the result crontab:no crontab for root,yet I have a crontab in /etc and I don't know what got messed up? It was working the other day? I probably messed something up(I'm blaming me,the user). I've been wanting to have hourly emails(to my home email and not... (2 Replies)
Discussion started by: VPN
2 Replies
10. UNIX for Dummies Questions & Answers
here's the scoop..
I have a ksh shell script written, that when I run it manually, it works wonderful, when I let it run via cron, it runs (tells me I have it set up correctly) but yet it doesn't run correctly (it only runs part of the commands with the script). what gives?
I've got the... (4 Replies)
Discussion started by: hedrict
4 Replies