Sponsored Content
Operating Systems Linux Ubuntu How can I move a file to a webserver every 5 minutes? Post 302216747 by veer on Monday 21st of July 2008 05:30:05 AM
Old 07-21-2008
One correction here.
Replace ftp -n with ftp web_server_ipaddress
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert minutes to hours, minutes, seconds

How would you convert lets say a 1000 minutes to hours, minutes, seconds (1 Reply)
Discussion started by: Vozx
1 Replies

2. HP-UX

Issue with setup.hp file for webserver

Hi All, I have an issue in writing the shell script to install a webserver on UNIX system. My shell script look something like this. ------------------------------------------------------------ echo "start of the script" #! /bin/sh cd /home/path echo | setup.hp -is:javaconsole -console... (1 Reply)
Discussion started by: vishalm
1 Replies

3. UNIX for Dummies Questions & Answers

Script to move certain number of files every 10 minutes.

Hi, I need to move a certain number of files every 10 minutes from one folder to another. I have written the script below, however its not working, please advise. #! /bin/ksh start() { mv /test1/$(head -1000 /movetst) /test2/ sleep 600 } stop() { exit } ls ti* >... (1 Reply)
Discussion started by: amitsayshii
1 Replies

4. Shell Programming and Scripting

Find the age of a file in Minutes

KSH: Please lt me know how to find the age of a file in minutes(Based on last modified time). ie, if the file was modified 15 Minutes ago, the output should be 15 (1 Reply)
Discussion started by: hari_anj
1 Replies

5. Shell Programming and Scripting

Stop append to file after 5 minutes

Hi all, I've got a grep command, in which the value (a number) is being appended into a file. Such file will have this output: 100 105 300 204 150 ... ... 120 113 124 This file will continue to append, since the grep line runs every 10 seconds. Is there a way to stop the file... (5 Replies)
Discussion started by: Wizard_1979
5 Replies

6. Shell Programming and Scripting

Move all .log except those generated in the last 5 minutes

RHEL 5.8 In the directory /u03/pkms/app_logs I have several hundreds of log files as shown below. $ pwd /u03/pkms/app_logs $ ls -alrt *.log | tail -50 -rw-r----- 1 oracle dba 9439232 May 4 13:57 mvtpcem_1_722892404_94157.log -rw-r----- 1 oracle dba 9227264 May 4 13:57... (8 Replies)
Discussion started by: kraljic
8 Replies

7. UNIX for Beginners Questions & Answers

How to convert days hours minutes seconds to minutes?

Hi, please help with below time conversion to minutes. one column values: 2 minutes 16 seconds 420 msec 43 seconds 750 msec 0 days 3 hours 29 minutes 58 seconds 480 msec 11 seconds 150 msec I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies

8. Shell Programming and Scripting

Grep a log file for the last 5 minutes of contents every 5 minutes

Hi all, System Ubuntu 16.04.3 LTS i have the following log INFO 2019-02-07 15:13:31,099 module.py:700] default: "POST /join/8550614e-3e94-4fa5-9ab2-135eefa69c1b HTTP/1.0" 500 2042 INFO 2019-02-07 15:13:31,569 module.py:700] default: "POST /join/6cb9c452-dcb1-45f3-bcca-e33f5d450105... (15 Replies)
Discussion started by: charli1
15 Replies

9. Shell Programming and Scripting

Check file creation Time minutes and if file older then 5 minutes execute some stuff

Hello all, Info: System RedHat 7.5 I need to create a script that based on the creation time, if the file is older then 5 minutes then execute some stuff, if not exit. I thought to get the creation time and minutes like this. CreationTime=$(stat -c %y /tmp/test.log | awk -F" " '{ print... (3 Replies)
Discussion started by: charli1
3 Replies

10. UNIX for Beginners Questions & Answers

rsync a file as it gets created and after 3 minutes old

- run a backup job - The jobs creates partial files one after the other, about 2 minutes interval. What i want to do is that while the job is still running or while a file was last modified or created 3 minutes ago, the file should be rsync to a remote server untill the last file has been... (4 Replies)
Discussion started by: malaika
4 Replies
Weborf(5)							File Formats Manual							 Weborf(5)

NAME
weborf.conf - configuration file for weborf daemon SYNOPSIS
/etc/weborf.conf DESCRIPTION
Weborf is a minimal webserver. Also has a limited support for webdav. Can be started as stand-alone or as SystemV daemon. This manual page documents Weborf's configuration file, used only when it is started as daemon. On debian systems, the script to run weborf as a daemon is located into /usr/share/docs/weborf and has to be manually copied into /etc/init.d Weborf is released under the GNU General Public License version 3. DESCRIPTION
Options are case sensitive. Immediately followed by the equal = sign, without any space between name and value. Lines beginning with # will be ignored and treated as comments. indexes By default weborf searches for index.html. Anyway it is possible to specify a different index file and also many index files. Name of the pages must be separated by a comma and between them there aren't spaces. basedir Default base directory used by the webserver. The default means that this will be used also when virtual hosts are enabled, if the requested host is unknown. Of course the user used for the webserver will need to have access to this directory. use-cgi Can be true or false. If false weborf will handle all files as normal files. Otherwise it will use the CGI protocol to execute some files. use-mime Can be true or false. If true weborf will send the Content-Type header to the clients. Turning it off will increase speed but might cause problems with some old clients. cgi List of extensions to consider as dynamic pages and binaries to execute them auth-bin Path of the binary that provides authentication to weborf auth-socket Path of the unix socket that weborf will use to connect to the authentication server cachedir Will set the path of the directory used for caching user Username of the user that will run the webserver. On debian this is usually www-data. virtual This directive is used to enable virtualhosts. One line is needed for each port. The format is: vir- tual#port#domain1=basedir1,domain2=basedir2 EXAMPLE
Example file can be found in /usr/share/doc/weborf/examples/weborf.conf SEE ALSO
weborf(1) VERSION
Weborf0.13 WEB
http://galileo.dmi.unict.it/wiki/weborf/ AUTHORS
Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it> Salvo Rinaldi <salvin@anche.no> Minimal webserver Sep 13, 2009 Weborf(5)
All times are GMT -4. The time now is 12:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy