08-22-2014
Execute script on the fly
Hi all,
I am calling a zsh script from batch file .
This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used by other program .
Can you please let me know whether we can craete a zsh file on the fly and execute and remove that. Trigger file names are unique
Thanks
DJ
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone, I am sort of new to shell scripting,
I have a bunch of files that begin with 'blah' and I want to rename those files with something different (renamedFile1, renamedFile2, renamedFileN). I don't want to go through each file and rename them with the mv command. Could I just use a for... (4 Replies)
Discussion started by: kcor
4 Replies
2. UNIX for Dummies Questions & Answers
I want to move and compress a big export file.
Like mv file_exp /filesystem/file_exp |compress
The file system is too small to compress and move with 2 steps.
What is the best command for me. I'm running solaris.
:confused: (1 Reply)
Discussion started by: simquest
1 Replies
3. Shell Programming and Scripting
o
hola..
Tengo un script que se ejecuta bajo una tarea del CronJOb del unix, tengo la version 11 de unix, mi script tiene un ciclo que lee unos archivos .txt luego cada uno de esos archivos debe pasar por un procedimiento almacenado el cual lo tengo almacenado en mi base de datos oracle 10g,... (4 Replies)
Discussion started by: Kespinoza97
4 Replies
4. Shell Programming and Scripting
Hi folks,
One DVD Writer installed on PC
To duplicate Data DVD or DVD Installer I run following steps;
1)
$ dd if=/dev/dvd of=image.iso bs=2048
to create an ISO image
2)
Remove the DVD disc on the tray and insert a blank DVD disc for
burning. Then run; (0 Replies)
Discussion started by: satimis
0 Replies
5. Solaris
Wats would be the best way to disable link based IPMP on the fly without loosing network connectivity ? (6 Replies)
Discussion started by: fugitive
6 Replies
6. What is on Your Mind?
This is great!
Lqh8e2KYIrU (8 Replies)
Discussion started by: Neo
8 Replies
7. Programming
Hi
I have a bash script which takes parameters
sh /tmp/gdg.sh -b BASE-NAME -n 1 -s /source/data -p /dest/data/archive -m ARC
gdg.sh will scan the /source/data and will move the contents to /dest/data/archive after passing through some filters. Its working superb from bash
I have... (0 Replies)
Discussion started by: rakeshkumar
0 Replies
8. HP-UX
Hi,
I have an old HPUX 10.20 server running Informix 7.23
I need to dump the database to get it off that hardware before it dies.
Unfortunately there is insufficient local diskspace to do so.
I have set up a linux box with sufficient disk onto which I can export the database.
Having... (1 Reply)
Discussion started by: fella
1 Replies
9. Shell Programming and Scripting
I want a shell script that accepts user input simultaneously when performing other tasks. Example: A shell script should echo some messages on the console and when the user presses some keys it should respond to that action.
say, when user presses the key
A - more information should be printed... (2 Replies)
Discussion started by: Arun_Linux
2 Replies
10. OS X (Apple)
Hi all...
Had an idea tonight which could really enhance shell scripting for me.
Yes I am aware there could be difficulties but......
Creating a C script inside the shell script to do a task, (a simple text print to stdout in
this example), compiling it on the fly, making sure it is... (4 Replies)
Discussion started by: wisecracker
4 Replies
LEARN ABOUT OPENDARWIN
atd
ATD(8) Linux Programmer's Manual ATD(8)
NAME
atd - run jobs queued for later execution
SYNOPSIS
atd [-l load_avg] [-b batch_interval] [-d] [-s]
DESCRIPTION
atd runs jobs queued by at(1).
OPTIONS
-l Specifies a limiting load factor, over which batch jobs should not be run, instead of the compile-time choice of 0.8. For an SMP
system with n CPUs, you will probably want to set this higher than n-1.
-b Specifiy the minimum interval in seconds between the start of two batch jobs (60 default).
-d Debug; print error messages to standard error instead of using syslog(3).
-s Process the at/batch queue only once. This is primarily of use for compatibility with old versions of at; atd -s is equivalent to
the old atrun command. A script invoking atd -s is installed as /usr/sbin/atrun for backward compatibility.
WARNING
atd won't work if its spool directory is mounted via NFS even if no_root_squash is set.
FILES
/var/spool/atjobs The directory for storing jobs; this should be mode 700, owner at.
/var/spool/atspool The directory for storing output; this should be mode 700, owner at.
/etc/at.allow, /etc/at.deny determine who can use the at system.
SEE ALSO
at(1), atrun(1), cron(8), crontab(1), syslog(3), at.deny(5), at.allow(5).
BUGS
The functionality of atd should be merged into cron(8).
local Mar 1997 ATD(8)