01-31-2012
Use an ftp to copy a file to a remote location e.g (/tmp/runme)
Have a shell script in cron on remote location which will run in time intervals check if that file exists, do it's job and then delete that file.
That way, every time you ftp a specific file from dos batch to unix server, you will actualy start a shell script (which has to check for existance of that file before running and delete it after).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends!
I am having some simple shell script files to build postgresql database and all. Now i want to convert those scripts to dos batch scripts(to run on windows XP/2000/NT) because there is no need of unix emulation for latest release of postgresql. Please somebody help me. (1 Reply)
Discussion started by: darwinkna
1 Replies
2. UNIX for Dummies Questions & Answers
I did a search and found lots of questions/comments about how a dos script could execute Unix but not the other way round. If it's possible, I'd like the link to a post/site that would show me the way.
Thanks. (4 Replies)
Discussion started by: BCarlson
4 Replies
3. Shell Programming and Scripting
Hello,
I m trying to execute a UNIX task from windows, I am copying few csv files from UNIX platform to my windows using a bat file like
the txt file is as follows :
open 172.21.13.239
root
root
lcd C:\Documents and Settings\aparna_sharma\Desktop\Trunk_Analysis
cd /opt/Trunk_Analysis/... (24 Replies)
Discussion started by: er_aparna
24 Replies
4. Windows & DOS: Issues & Discussions
Please dont post duplicate threads :confused: (0 Replies)
Discussion started by: lorcan
0 Replies
5. Shell Programming and Scripting
Hi,
I am new to shell scripting. Can anyone tell how to invoke a batch program from my shell script
thnx (1 Reply)
Discussion started by: lakshmis10
1 Replies
6. Shell Programming and Scripting
Hi All,
How to run multiple oracle script in unix at-a-time.I appriciate if any send the script for me.
Regards,
Ravi kumar.Gongati (2 Replies)
Discussion started by: ravi gongati
2 Replies
7. Shell Programming and Scripting
Hi,
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Discussion started by: tomailraj
5 Replies
8. UNIX for Dummies Questions & Answers
Is the unix shell script equivalent to dos batch command?
Thanks (2 Replies)
Discussion started by: zhshqzyc
2 Replies
9. Shell Programming and Scripting
Hi,
This is my DOS Batch file.
@echo off
echo "Program Name :" %0
rem echo "Next param :" %1
echo "Next param :" "Username/Password"
echo "User Id :" %2
echo "User Name :" %3
echo "Request ID ... (4 Replies)
Discussion started by: Rami Reddy
4 Replies
10. Shell Programming and Scripting
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Discussion started by: bhupeshchavan
1 Replies
uudemon(4) Kernel Interfaces Manual uudemon(4)
NAME
uudemon.admin, uudemon.cleanu, uudemon.hour, uudemon.poll - Administrative shell scripts for polling remote systems, cleaning up spool
directories, reporting status to the system administrator, and routine invocations of the uuxqt and uusched daemons
SYNOPSIS
These shell scripts reside in the following directory:
/usr/lib/uucp
DESCRIPTION
All the scripts can be run from the command line or can be run automatically by the cron daemon. To automatically run the scripts, remove
the comment character (#) from the beginning of the relevant line in the /var/spool/cron/crontabs/uucp file.
This script reports status to the system administrator. It issues the uustat command to find out the status of uucp jobs. It mails the
results to the uucp login ID. The script may be modified to send mail to any login ID such as the uucp administrative login ID (uucpa) or
root. This script cleans up the /var/spool/uucp and /var/spool/uucppublic directories by running the uucleanup command. The uucleanup com-
mand is run with the following parameters: -C7, -D7, X2, -o2, -W1. This script runs the uusched and uuxqt daemons in the background. This
script polls the systems listed in the /usr/lib/uucp/Poll file. The uudemon.poll script should be scheduled before the uudemon.hour
script. This allows uudemon.poll to create any command files before cron runs the uudemon.hour script.
FILES
Contains the uudemon.admin, uudemon.cleanu, uudemon.hour and uudemon.poll files. Contains the uucp file.
RELATED INFORMATION
Commands: cron(8), uucleanup(8), uusched(8), uuxqt(1)
Files: /usr/lib/uucp delim off
uudemon(4)