10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to run several bash commands put in bash command line without needing and requiring a script file.
Because I'm actually a windows guy and new here so for illustration is sort of :
$ bash "echo ${PATH} & echo have a nice day!"
will do output, for example:... (4 Replies)
Discussion started by: abdulbadii
4 Replies
2. Shell Programming and Scripting
Hello
I have a problem with use bash script in windows task.
If I use script by cygwin it's working well.
If I use it by Windows task I'm get error
Error :
ERROR 2 (HY000) at line 2: File '.\xxx.csv' not found (Errcode: 2)
Code Line :
load data local infile './xxx.csv' REPLACE into... (16 Replies)
Discussion started by: karp
16 Replies
3. Shell Programming and Scripting
Hi ! all
I am interested to know how to schedule some task, say delete some directory which needs root privileges, please someone suggest me other than crontab
Here is a scenario
schedule date is 25-09-2013 time 10:00 AM to 11:00 AM
delete directory log in following path ... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
4. Shell Programming and Scripting
Hi
I have written a utility in shell program for which i want to add a code to display percentage of completion dynamically
My scripts runs approx about 30 to 45min , It appends exactly 2000 lines to one of the log file.
How to calculate percentage ?
I will note the total number of lines... (5 Replies)
Discussion started by: rakeshkumar
5 Replies
5. Shell Programming and Scripting
Hmmm.... I love these forums because I always get great prompt responses and I want to ask a question about running bash on windows. Is that allowed?
Now I know I can install cygwin cron and run bash that way.
Can I run bash from windows schedule task? How?
thanks
siegfried (1 Reply)
Discussion started by: siegfried
1 Replies
6. UNIX for Dummies Questions & Answers
Hi.
I use an alias, "homeperm" as shorthand for curl -o. Since most of what I download via cUrl is graphic image files -- jpeg files -- I'd like to be able to change this alias to a script, or use it to invoke a function, which will not only download the file but date-stamp it using Exiv2 in... (4 Replies)
Discussion started by: SilversleevesX
4 Replies
7. Shell Programming and Scripting
What is the best way to schedule a task that is be executed years later? Like execute a script after 4 years.
Is cron the best method for that?
Any other option other than cron/at ? :confused: (7 Replies)
Discussion started by: nitin09
7 Replies
8. Shell Programming and Scripting
Status quo is, within a web application, which is coded completely in php (not by me, I dont know php), I have to fill out several fields, and execute it manually by clicking the "go" button in my browser, several times a day.
Thats because:
The script itself pulls data (textfiles) from a... (3 Replies)
Discussion started by: lowmaster
3 Replies
9. Shell Programming and Scripting
I have an task definition listing xml file that contains a list of tasks such as
<TASKLIST
<TASK definition="Completion date" id="Taskname1" Some other
<CODE name="Code12"
<Parameter pname="Dog" input="5.6" units="feet" etc /Parameter>
<Parameter... (3 Replies)
Discussion started by: MissI
3 Replies
10. Shell Programming and Scripting
I have a file contains
TASK gsnmpproxy {
CommandLine = $SMCHOME/bin/gsnmpProxy.exe
}
TASK gsnmpdbgui {
CommandLine = $SMCHOME/bin/gsnmpdbgui.exe
I would like to comment and than uncomment specific task eg TASK gsnmpproxy
Pls suggest how to do in shell script (9 Replies)
Discussion started by: madhusmita
9 Replies