10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script that require input from terminal at some point (either a,b or c)
How can I cron the script and automatically assume c as the input. (2 Replies)
Discussion started by: aydj
2. UNIX for Dummies Questions & Answers
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:
db2... (3 Replies)
Discussion started by: okonita
3. Shell Programming and Scripting
I created a script which connects to database and update a table.
This script is running fine when i run it manually but when i am trying to execute it scheduling in crontab.script is executing but Data is not getting updated.
below is my script
sqlplus test/##### >> test_feed.log <<!... (6 Replies)
Discussion started by: sv0081493
4. Shell Programming and Scripting
I have a script which is running fine while triggered manually, However if I placed
in crontab it throwing an error.
Manual run -
+ lc=1... (4 Replies)
Discussion started by: nag_sathi
5. Shell Programming and Scripting
This has to be the ultimate newbie question...
I have a script that works well. To run it, I cut and paste it into a putty session.
Is there a way to put the script into a file and just run that file -- like a DOS batch file?
I'd like to schedule the file to run daily.
Thanks,... (3 Replies)
Discussion started by: landog
6. Shell Programming and Scripting
I have scheduled the script below in cron (Solaris 8). This script is supported to monitor the output of the websphere was-stat command and send a page out if it finds that one of the JVMs in the JVM_list.txt is down.
cat JVM_list.txt | while read i
do... (5 Replies)
Discussion started by: Segwar
I have an assignment about collecting /var/adm/messages on each server running Solaris 9. All these servers will be installed with a script that collect all the messages in cron. All the messages will be collected by a single server.
I have a script to collect all the messages, but... (2 Replies)
Discussion started by: frankoko
8. Shell Programming and Scripting
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
Discussion started by: instant000
I want to cron one script which should run every second Thursday (in general Nth occurence of any day) of every month.
I am not getting the exact idea of doing this; Please guide.
Regards, (3 Replies)
Discussion started by: jaiankur
10. Shell Programming and Scripting
When logged in as root if I type "env" there are a bunch of environment settings including one for CLASSPATH. However, I ran a cron script that ran this command "env > cronEnv". I noticed that the environment variables were entirely different inside the script. There wasn't even a CLASSPATH... (2 Replies)
Discussion started by: doublek321