08-09-2019
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When logged in as root if I type "env" there are a bunch of environment settings including one for CLASSPATH. However, I ran a cron script that ran this command "env > cronEnv". I noticed that the environment variables were entirely different inside the script. There wasn't even a CLASSPATH... (2 Replies)
Discussion started by: doublek321
2 Replies
2. UNIX for Dummies Questions & Answers
I've got an *extremely* simple script I want to run every minute:
#!/bin/sh
ping -c 1 192.168.1.20 > ~/onlinestatus.txt
So, the script is called "status", it's executable, and in the correct path, etc. In a terminal window (I'm using Mac OS X), I can type status, and it will create... (4 Replies)
Discussion started by: jmf77
4 Replies
3. AIX
hello
I use a script to give me the number of users, at each hour.
this script read a file where there is the number of users for each hour and for each month (so 12 files per year).
If i execute the script (root), it is ok, i have xxx users for each hour.
if I put the script in the cron... (1 Reply)
Discussion started by: pascalbout
1 Replies
4. Shell Programming and Scripting
guys
i have written a very simple script .it runs manually well.
but when i put it in cron,it doesn't give the desired output.
script looks like this:
#! /usr/bin/sh
#script for loading data in table using ctl file/Abhijeet K/08.07.2006
/svm_wl1/. .profile
cd... (5 Replies)
Discussion started by: abhijeetkul
5 Replies
5. Solaris
I want to cron one script which should run every second Thursday (in general Nth occurence of any day) of every month.
I am not getting the exact idea of doing this; Please guide.
Regards, (3 Replies)
Discussion started by: jaiankur
3 Replies
6. Shell Programming and Scripting
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
Discussion started by: instant000
15 Replies
7. Solaris
Dear All,
I have an assignment about collecting /var/adm/messages on each server running Solaris 9. All these servers will be installed with a script that collect all the messages in cron. All the messages will be collected by a single server.
I have a script to collect all the messages, but... (2 Replies)
Discussion started by: frankoko
2 Replies
8. Shell Programming and Scripting
This has to be the ultimate newbie question...
I have a script that works well. To run it, I cut and paste it into a putty session.
Is there a way to put the script into a file and just run that file -- like a DOS batch file?
I'd like to schedule the file to run daily.
Thanks,... (3 Replies)
Discussion started by: landog
3 Replies
9. UNIX for Dummies Questions & Answers
Hello gurus,
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
#!/bin/ksh
db2... (3 Replies)
Discussion started by: okonita
3 Replies
10. Shell Programming and Scripting
I have a script that require input from terminal at some point (either a,b or c)
How can I cron the script and automatically assume c as the input. (2 Replies)
Discussion started by: aydj
2 Replies
LEARN ABOUT DEBIAN
git-remote-fd
GIT-REMOTE-FD(1) Git Manual GIT-REMOTE-FD(1)
NAME
git-remote-fd - Reflect smart transport stream back to caller
SYNOPSIS
"fd::<infd>[,<outfd>][/<anything>]" (as URL)
DESCRIPTION
This helper uses specified file descriptors to connect to a remote git server. This is not meant for end users but for programs and scripts
calling git fetch, push or archive.
If only <infd> is given, it is assumed to be a bidirectional socket connected to remote git server (git-upload-pack, git-receive-pack or
git-upload-achive). If both <infd> and <outfd> are given, they are assumed to be pipes connected to a remote git server (<infd> being the
inbound pipe and <outfd> being the outbound pipe.
It is assumed that any handshaking procedures have already been completed (such as sending service request for git://) before this helper
is started.
<anything> can be any string. It is ignored. It is meant for providing information to user in the URL in case that URL is displayed in some
context.
ENVIRONMENT VARIABLES
GIT_TRANSLOOP_DEBUG
If set, prints debugging information about various reads/writes.
EXAMPLES
git fetch fd::17 master
Fetch master, using file descriptor #17 to communicate with git-upload-pack.
git fetch fd::17/foo master
Same as above.
git push fd::7,8 master (as URL)
Push master, using file descriptor #7 to read data from git-receive-pack and file descriptor #8 to write data to same service.
git push fd::7,8/bar master
Same as above.
DOCUMENTATION
Documentation by Ilari Liusvaara and the git list <git@vger.kernel.org[1]>
GIT
Part of the git(1) suite
NOTES
1. git@vger.kernel.org
mailto:git@vger.kernel.org
Git 1.7.10.4 11/24/2012 GIT-REMOTE-FD(1)