01-17-2002
netrc seems to be a sol to FTP, but I didnt want to write a batch job to monitor the directory for addition of new files. I thought if its possible to trigger an event whenever a new files are added to the dir?
About the EXPECT, it seems to do a lot of things and just started to go thru the doc.
Thanks for the info
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Suppose I have a script under user A, which calls a script under user B (this script should be run using user B). How can I change the user (along with supplying the password) automatically in the script (a command similar to su)?
Thank you in advance
Best Regards (1 Reply)
Discussion started by: omran
1 Replies
2. UNIX for Advanced & Expert Users
Hi everyone,
I was wondering if anyone out there knows how I can make my UNIX server (Using Solaris8) boot up to a prompt without needing me to login.
I simply want to turn on my UNIX box and get to a prompt without needing to input login and password.
Many thanks,
Sid (1 Reply)
Discussion started by: snili
1 Replies
3. Shell Programming and Scripting
I'm slowly (very slowly) learning csh and the UNIX underpinnings of Mac OS X so please bear with me.
I want to be able to ftp a file to my personal webspace at work. I can do this by manually going in and doing
ftp host.domain.com
user:
password:
cd /folder
put myfile
etc..
I'd like... (4 Replies)
Discussion started by: DumDum
4 Replies
4. Shell Programming and Scripting
Hi,
Is is possible when ftp script disconnect by remote server and it can restart to tranfer (such as restart in 10 mins, etc)?
Please help!!!! (1 Reply)
Discussion started by: happyv
1 Replies
5. Shell Programming and Scripting
Hi
i need to FTP files from windows to unix(sun) machine using script. what are the scripts commands i need to use to transfer files
Thanks (2 Replies)
Discussion started by: bmkreddy
2 Replies
6. SCO
We are using SCO OS 5.05 server and we are doing a manual ftp to another SCO OS 5.05 server to backup our database.
We are using the Bourne shell.
We would like to automate the ftp backup of our database instead of doing it manually.
It would be nice to run a script.
Also would there be anyway... (4 Replies)
Discussion started by: texastig
4 Replies
7. AIX
Guy's
We have two AIX servers
Server1 and Server2
and we have created user1 in Server1 and Server2 ...
and .netrc file was confiured under /home/user1 with the below line
machine server2 login user1 password abc1234567
-rw------- 1 user1 staff 159 Sep 28 2004 .netrc
... (7 Replies)
Discussion started by: ITHelper
7 Replies
8. Shell Programming and Scripting
Hi
I am looking for automatic FTP script from UNIX to UNIX servers. I have two problems that anyone may help:
1- The directory where the files have to be FTPed is varied, where it is identified by the date of today (YYYYMMDD)
2- the files come every 15 minutes and named by the time with form... (2 Replies)
Discussion started by: akhadoor
2 Replies
9. Shell Programming and Scripting
Hey Guys,
i need to download files from a ftp-server that not older than $VAR (x) days
eg for seven days
./script 7
or two weeks
./script 14
all files from the last 14 days will download but how i can explain "ftp" this?
sorry for my strange english :/ (2 Replies)
Discussion started by: tetex
2 Replies
10. Shell Programming and Scripting
I have automated ftp for different scripts. every script uses different login and passwords for different server. it reads the username and password from netrc.
there is 1 particular script that is failing. this script is failing in FTP step. i have checked the logs it says login failed. but... (5 Replies)
Discussion started by: dazdseg
5 Replies
LEARN ABOUT MOJAVE
started
started(7) Miscellaneous Information Manual started(7)
NAME
started - event signalling that a job is running
SYNOPSIS
started JOB=JOB INSTANCE=INSTANCE [ENV]...
DESCRIPTION
The started event is generated by the Upstart init(8) daemon when an instance of a job has finished starting and is now running. The JOB
environment variable contains the job name, and the INSTANCE environment variable contains the instance name which will be empty for sin-
gle-instance jobs.
init(8) emits this event as an informational signal, services and tasks started or stopped by this event will do so in parallel with other
activity. It is typically combined with the stopping(7) event by services declaring a dependency.
Job configuration files may use the export stanza to export environment variables from their own environment into the started event. See
init(5) for more details.
EXAMPLE
A service that wishes to depend on another service might use:
start on started apache
stop on stopping apache
A task that must be run after another task or service has been started might use:
start on started postgresql
SEE ALSO
starting(7) stopping(7) stopped(7) init(5)
Upstart 2009-07-09 started(7)