10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
echo "Hi $username, guess what my favourite colour is!"
echo "See ya later!"
echo "You guessed correctly! Great job!"... (6 Replies)
Discussion started by: solomonsnare
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.
From firstname.lastname@example.org Thu Apr 12 14:03:01 2012
Delivered-To:... (4 Replies)
Discussion started by: bbowers
4. UNIX for Dummies Questions & Answers
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
Ajay (3 Replies)
Discussion started by: ajayakunuri
5. Shell Programming and Scripting
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. Shell Programming and Scripting
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
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
8. UNIX Desktop Questions & Answers
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
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
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.
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