10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to take backups of script files listed in cron tab
but,my cron entry has value like this
10 3 * * * /usr/sbin/logadm
15 3 * * 0 /usr/lib/fs/nfs/nfsfind
30 3 * * * && /usr/lib/gss/gsscred_clean
#10 3 * * * /usr/lib/krb5/kprop_script ___slave_kdcs___
00,15,30,45 * * * *... (1 Reply)
Discussion started by: Sivarajan N
1 Replies
2. Shell Programming and Scripting
echo "Hi $username, guess what my favourite colour is!"
count=0
while ]
do
read colour
if
then
$count=1
echo "See ya later!"
elif
then
$count=1
echo "You guessed correctly! Great job!"... (6 Replies)
Discussion started by: solomonsnare
6 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to create a crontab that runs every hour and runs a script in my $HOME/bin directory.
Everytime it goes to run it I get this mail.
Message 14:
From root@xx.xxxx.edu Thu Apr 12 14:03:01 2012
Return-Path: <root@xx.xxxx.edu>
X-Original-To: bbowers
Delivered-To:... (4 Replies)
Discussion started by: bbowers
4 Replies
4. UNIX for Dummies Questions & Answers
hi,
instead of typing crontab -e i gave crontab -r and hit enter. So i lost all my scripts.
Is there any way to restore the deleted scripts?
Please help me out
Thanks
Ajay (3 Replies)
Discussion started by: ajayakunuri
3 Replies
5. Shell Programming and Scripting
hi,
i need to run one script in cron...
in that script has connect antoher server and doing sftp for file transfer to another script.
and going to be run another script in another server
ssh ravikus\@server2 /export/home/ravikus/scripts/GetDetailsC2b.sh
it is work fine when i run... (6 Replies)
Discussion started by: rsivasan
6 Replies
6. Shell Programming and Scripting
Hi all,
I have set up a cron job which calls another shell script shell script which in turn calls a Java process. The cron tab looks so.
0,30 7-18 * * 1-5 /u01/home/weblogic/brp/bin/checkstatus.sh >> /u01/home/weblogic/logs/checkstatus.log
The checkstatus.sh scripts looks like this.
... (4 Replies)
Discussion started by: sirbrian
4 Replies
7. Shell Programming and Scripting
I try to write a python script, which analyze user logon time with "who" command.
When i start script in bash, i get this result:
USER=mnadmin tty7 2009-04-18 11:37 (:0)
But when i start script in cron, i get result like this:
USER=mnadmin tty7 Apr 18 11:37 (:0)
I see -... (2 Replies)
Discussion started by: jrush
2 Replies
8. UNIX Desktop Questions & Answers
hi,
I have scripts which are running every 3 minutes. The scripts include connection to a database, using sqlplus. Sometimes, the connection fails (invalid username or password, locked user etc..) and the connection returns the error code, to the unix screen or to a file.
I want whenever there's... (2 Replies)
Discussion started by: krem
2 Replies
9. UNIX for Advanced & Expert Users
i have scipt which is calling some
other scripts and some built-in utilities like SED, find etc..
i started this script using nohup
(e.g: nohup scriptname &)
now i want to kill this script and all the child processes
of this script.
the problem is, process id of child processes are... (4 Replies)
Discussion started by: gfhgfnhhn
4 Replies
10. Answers to Frequently Asked Questions
We have hundreds of threads involving cron and crontab. Rather than creating a post with dozens of links, I thought I'd just write up a tutorial with only a few selected links.
The Basics
cron is a daemon that runs periodic tasks. crontab is name of textfile that is used to control cron. ... (0 Replies)
Discussion started by: Perderabo
0 Replies