10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am looking for a script which will work as a watch directory.
I ha directory which keep getting files in every 10 mins and some time delay.
I want to monitor if the directory getting the files in every 10 mins if not captured the last received file time and calculate the delay.
... (6 Replies)
Discussion started by: sadique.manzar
2. Shell Programming and Scripting
Hello fellow forum members,
I have a script which returns a date (I can design the script to return the value in email), How can I design the script in AIX to invoke another shell script which performs some set of actions.
Procmail doesnt work in AIX. (4 Replies)
Discussion started by: ektubbe
3. Shell Programming and Scripting
Here is the requirement!!
I want to check the mail with attachment received or not through unix scripting.
And send an notification email when mail with attachment already received.
Any thoughts on this is much appreciated!!
Harry (0 Replies)
Discussion started by: dharry2017
4. Shell Programming and Scripting
While am deleting a file in unix by using the command rm it's deleting the file directly
IT's have to ask the user while deleting like
do you want to delete filename y or N ?
Kindly help on this.
Thelak (2 Replies)
Discussion started by: thelakbe
In the code below i try to write and read from a file, but i get unexpected results, like after writing i cannot open the file, and when reading the file the value entered earlier is not shown
bool creat_fragments(int nFragment)
int fd, rand_value;
char frag_path, buf;
for(int... (8 Replies)
Discussion started by: saman_glorious
I have been looking around for a solution to this, i have been developing for a wile though am very new to CGI, PHP and a lot of the web based tech.
I have a web site hosted with a cPanel web host.
I am looking to have a script(prefer PHP) to run everytime i get a new email to firstname.lastname@example.org.... (16 Replies)
Discussion started by: iKris
7. Shell Programming and Scripting
from one script invoke another script will need to do double confirmation like: 'y' and 'y'
echo 'y' | /a/b/c.sh
only input 1 'y' in the c.sh, but the c.sh required 2 'y' (twice confirmation)
is there anyway get resolve this issue?
please help (2 Replies)
Discussion started by: kinx
8. Shell Programming and Scripting
I'm writing a wrapper script (in bash) that wraps another (bash) script. When calling the wrapped script, I need to pass all the received arguments/options to it. Is there a built in variable that holds all the options? I wrote a little while loop (see below) which works. But I wanted to know if... (1 Reply)
Discussion started by: Dilbert
9. Shell Programming and Scripting
I am trying to code a ksh script that will check to see if all 26 incoming ftp files have been received before proceeding to the next function, which is to rename each file.
Here is the pseudo-code of what I am trying to do:
IF all ALS files have been transmitted then... (2 Replies)
Discussion started by: doug145
10. Shell Programming and Scripting
Is there a way of looking at the last file received and checking whether it is more than 24 hours old?
I need to look in a directory, get the date of the processed file and make sure it wasn't more than a day ago. If it is more than 1 day ago I need... (9 Replies)
Discussion started by: rebootman