Search Results

Search: Posts Made By: waso
2,412
Posted By waso
run script in time and date range
i need to run one script inside of other, and there is some terms

- main script in scheduled in cron for everyday runing every 5min
- i need to run /tmp/script2.sh after first 3 days in month
-...
1,674
Posted By waso
Shell script menu for end user - difficult challenge 2
Hello,

I need to make shell script menu for my end users. There is like 100 scripts in system, and they need to run that scripts true one main script with user friendly menu.

Example, when...
2,203
Posted By waso
Chubler_XL...
Chubler_XL (https://www.unix.com/members/302085178.html) thanks for response, i have try your script, but it will run just for step 1.

I add some notes in first post, and make example of script...
2,203
Posted By waso
Shell script menu for end user - difficult challenge
Hello,

I need to make shell script menu for my end users. There is like 100 scripts in system, and they need to run that scripts true one main script with user friendly menu.

Example, when user...
2,605
Posted By waso
Check input for lenght, special characters and letter case
I made menu script for users so they can run other script without going in shell just from menu.

But i must control their input.
These are criteria:

Input must have 4 signs
First two signs...
8,949
Posted By waso
another thing, files name will be random, but...
another thing, files name will be random, but every file have "TEST" in name.

when my script run there will be about 5 files to transfer, and this control is just for case if one of the files is...
8,949
Posted By waso
check if some file is in copy process, then transfer it
my user copy large files, and it's take 10min for file to be copied to the server (/tmp/user/ files/), if in the meantime start my scheduled script, then it will copy a part of some file to server1
...
2,028
Posted By waso
i forget, i need to send this lines on mail
i forget, i need to send this lines on mail
2,028
Posted By waso
Get last lines of file after last line with word TEST
i need to get least lines of file after last word TEST in file, and send that lines to mail

example of file structure:

TEST 10.10.2010
jdfjdnjfndjfndnfkdk
djfjdnfjkdjkfnjkdfk...
15,431
Posted By waso
Check input date format?
how to check input date format.
for example $input_date must be in format dd.mm.gg

script is execute like this:

bin/script1.sh 14.12.2009

script1.sh code:


#!/bin/sh

input_date=$1
...
117,939
Posted By waso
Unpack (extract) EAR / JAR files
i have about 30 .EAR files, every ear file have 1 .JAR file.

so i need to extract .EAR files then extract .JAR files, and one important thing is that every archive must bee extracted to separate...
1,584
Posted By waso
Multiple rename part of scripts
i have about 30 scripts for example:

test, test1,test2, test3, test4,.....

inside every scripte is code like this:

echo "input check OK"

how to rename this line in multiple scripts in...
10,514
Posted By waso
users execute script like this: ...
users execute script like this:
/app/av/test/test.sh 12

in script i have 2 more script that will execute if the input parameter $1 is correct

first i must check if is $1 number and not text...
10,514
Posted By waso
Check if the input is number or text?
i have to check if is input number or text, i case that is text then exit script

exaple is hrere, but is not working


check_it()
{
if [ "$1" != +([a-zA-Z]) ]
then
...
12,026
Posted By waso
thanks for advice, i will try it :)
thanks for advice, i will try it :)
12,026
Posted By waso
Crontab - how to make time range?
im puting script in crontab, script is executing every 15min, every day, every monath

but i must make time range from 0:00 - 20:00 <> 20:30 - 0:00
or if i cant make 20:30 then 0:00 - 20:00 <>...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy