10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to get some kind of notification when a script has been executed.
I know how to get an email sent, but I something different.
This works, unless it occurs when I am not at my computer.
notify-send "Cleanup of Backup Directories complete." It could even involve creating... (2 Replies)
Discussion started by: drew77
2. Shell Programming and Scripting
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
3. Shell Programming and Scripting
I copied and pasted the "/etc/init.d/skeleton" file to a new one so I could create my own init script for a program.
Basically the ONLY edit I made to the skeleton "template" so far was to search and replace "FOO" with "snort".
*NOTE: I know there are a bunch of snort init scripts... (6 Replies)
Discussion started by: mrm5102
4. Shell Programming and Scripting
As per my requirement when I run . ./file.sh am getting the following error
-bash:ELF: command not found
when i execute as ./file.sh it is getting executed.How to resolve this.
Thanks in advance. (3 Replies)
Discussion started by: pracheth
5. Shell Programming and Scripting
I am having a shell script which has a while loop as shown below.
I am executing this script from Informatica ETL tool command task from where we can execute UNIX commands/scripts. When i do that, i am seeing 2 processes getting started for one script... (2 Replies)
Discussion started by: chekusi
6. Shell Programming and Scripting
How can we know whether a script has been executed successfully or not ?
We dont have any log directories, and we are not given a chance to modify the script. Could someone help me out with this Thanks (2 Replies)
Discussion started by: bobby1015
Script not getting executed via cron but executes successfully when executed manually. Please assist
cbspsap01(appuser) /app/scripts > cat restart.sh
echo "Restart has been started....." >>logfile.out
initfnsw -y restart... (3 Replies)
Discussion started by: samsungsamsung
8. Shell Programming and Scripting
I have a script get_DB_var.ksh which do a data base call and get some variables as below:
sqlplus -silent $user/$pass@dbname <<END
from table_name where col4=$1;
Now I want to access all these variables i.e.... (9 Replies)
Discussion started by: dips_ag
9. UNIX for Advanced & Expert Users
i am facing a very strange issue, my code below does an ftp to server A and gets a file to Server B, once the file is in B an if condition is present to check if the pattern of the filename is ABC* then it has to be encrypted using OPENSSL as ABC.enc else if it of pattern 123* has to be... (3 Replies)
Discussion started by: meva
10. Shell Programming and Scripting
I would like to capture who executed a script to a script's variable (i.e. testing.sh), so I can save it to a log file.
user=`<< code here >>` // get the info below in RED color
echo "$user execute testing.sh on `date`" >> testing.log
... (2 Replies)
Discussion started by: on9west