9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I wrote one script it is showing wrong out but i wrote another script it is showing right out. I really don't know the difference.
first-script-showing mistake.
#!/bin/bash
echo "Counting the Databases"
countp1=`ps -ef |grep pmon |grep -v grep | wc -l`
echo $countp1
#countp=3
if ... (3 Replies)
Discussion started by: learnbash
3 Replies
2. UNIX for Dummies Questions & Answers
hi all,
I have 3 individual scripts to perform the task . 2nd script should run only after the 1st script and 3rd script must run only after first 2 scripts are executed successfully.
i want to have a single script that calls all this 3 scripts .this single script should execute the 2nd script... (1 Reply)
Discussion started by: Rahul619
1 Replies
3. UNIX for Advanced & Expert Users
hi,
while separated they produce the usual mail alert and i can see the output...
if i write into the php script:
<?php
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php');
system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php');
system('php -f... (0 Replies)
Discussion started by: 7stars
0 Replies
4. Shell Programming and Scripting
Need some help / advice with the follow script...
Basically i have an FTP server that connects to other ftp servers and sends and downloads files every few hours or so. There are 12 different accounts that all have 2 scripts each, one to send and one to receive. Below is an example send script... (1 Reply)
Discussion started by: mokachoka
1 Replies
5. Shell Programming and Scripting
when i run the scripts from command line like
php ./file.php they run fine and it ends.
But i have them running in crontab every 5 minutes and they sometimes dont close. Can i write something to log why or force them to close after a certain amount of time by killing the pid? (2 Replies)
Discussion started by: nitrous
2 Replies
6. Shell Programming and Scripting
Hello All,
I have 3 scripts namingly 1X 2X and 3X.
I have one directory ABC created which contains some 40 sub directories.
I have one input file in the below format.The input file resides in ABC directory.
Inputfile format;
subdirectoryname date
subdirectoryname1 date
subdirectoryname2... (1 Reply)
Discussion started by: RSC1985
1 Replies
7. HP-UX
Hi, the only experience I have with Unix is on C360 workstations using 10.20 and Omniback II to restore email with HP Openmail. I have four brand new machines that I am installing the OS and software on, however, their are scripts that were written specifically for our tape process that I have... (13 Replies)
Discussion started by: Asheley Ryan
13 Replies
8. Shell Programming and Scripting
Dear Friends,
Plz some one tell me how to connect PHP and Shell Scripts.
Mail me on address removed by moderator
Thanks
Nishant (3 Replies)
Discussion started by: krishna_sicsr
3 Replies
9. Shell Programming and Scripting
Hi,
sprt.sh
#!/bin/ksh
###############################################################################
# -----------------------------------------------------------------------------
#
# ------------------------------------------------------------------------------... (1 Reply)
Discussion started by: parola
1 Replies