9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello All,
I have to restart 100's of scripts for at least 20+ users once the server restarts for any reason. I wanted to come up with a single script to trigger of all scripts/programs under all users with just one script (without root privilege).
Is it possible to do so? :confused: If not,... (6 Replies)
Discussion started by: PikK45
6 Replies
2. Shell Programming and Scripting
Dear all,
I am working on script which call other shell scripts in a loop but problem is from second script am not able to come out.
Here is the snippet:-
#!/bin/bash
HSFILE=/root/Test/Components.txt
LOGFile=/opt/domain/AdminDomain/application/logs... (3 Replies)
Discussion started by: sharsour
3 Replies
3. Shell Programming and Scripting
Hi Experts,
Kindly share scripts to find aging file and ftp to another server..
Example:
Find files more than 5 days and ftp to another server.
Please give suggestion :)
Thanks
Edy (1 Reply)
Discussion started by: edydsuranta
1 Replies
4. Shell Programming and Scripting
Hi
I have submitted an at command to run next week .
Now i want to remove the submitted at command .
I dont want the job to run .
Can anyone help me , with the command to remove the submitted at command .
thanks in advance ... (3 Replies)
Discussion started by: rxg
3 Replies
5. Shell Programming and Scripting
Need some help / advice with the follow script...
Basically i have an FTP server that connects to other ftp servers and sends and downloads files every few hours or so. There are 12 different accounts that all have 2 scripts each, one to send and one to receive. Below is an example send script... (1 Reply)
Discussion started by: mokachoka
1 Replies
6. Shell Programming and Scripting
Hi,
I'm using the following code to FTP files from a remote system.
ftp -inv <ip address> <<ENDFTP
user uname password
ENDFTP
echo "
binary
get <file name>
bye
" > ftp.tmp
ftp -inv < ftp.tmp
I want to know how I can capture the details of the FTP process in a file. I would also... (3 Replies)
Discussion started by: bornon2303
3 Replies
7. Shell Programming and Scripting
Hi all,
I'm using the following script to automated ftp files to 1 ftp servers
host=192.168.0.1
/usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp
open $host
bin
cd ${directory}
put $files
quit
ftp
and the .netrc file contain
machine 192.168.0.1
login abc... (4 Replies)
Discussion started by: varu0612
4 Replies
8. Shell Programming and Scripting
HI All
Need a help in FTP script
i need to ask the user to enter the source ftp server and password
and target ftp server and password , once it has logged in to the source server it need to go to directory and ftp to the target server
can anyone help me on this , Sample code is... (27 Replies)
Discussion started by: raghav1982
27 Replies
9. Shell Programming and Scripting
Hi
Please let me know is there any way through which I can find out errors & do debugging in FTP scripts.
Thanks
Sourabh
TCS (1 Reply)
Discussion started by: sourabhshakya
1 Replies
queuedefs(4) File Formats queuedefs(4)
NAME
queuedefs - queue description file for at, batch, and cron
SYNOPSIS
/etc/cron.d/queuedefs
DESCRIPTION
The queuedefs file describes the characteristics of the queues managed by cron(1M). Each non-comment line in this file describes one queue.
The format of the lines are as follows:
q.[njobj][nicen][nwaitw]
The fields in this line are:
q The name of the queue. a is the default queue for jobs started by at(1); b is the default queue for jobs started by batch (see
at(1)); c is the default queue for jobs run from a crontab(1) file.
njob The maximum number of jobs that can be run simultaneously in that queue; if more than njob jobs are ready to run, only the first
njob jobs will be run, and the others will be run as jobs that are currently running terminate. The default value is 100.
nice The nice(1) value to give to all jobs in that queue that are not run with a user ID of super-user. The default value is 2.
nwait The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that job's
queue, or because the system-wide limit of jobs executing has been reached. The default value is 60.
Lines beginning with # are comments, and are ignored.
EXAMPLES
Example 1: A sample file.
#
#
a.4j1n
b.2j2n90w
This file specifies that the a queue, for at jobs, can have up to 4 jobs running simultaneously; those jobs will be run with a nice value
of 1. As no nwait value was given, if a job cannot be run because too many other jobs are running cron will wait 60 seconds before trying
again to run it.
The b queue, for batch(1) jobs, can have up to 2 jobs running simultaneously; those jobs will be run with a nice(1) value of 2. If a job
cannot be run because too many other jobs are running, cron(1M) will wait 90 seconds before trying again to run it. All other queues can
have up to 100 jobs running simultaneously; they will be run with a nice value of 2, and if a job cannot be run because too many other jobs
are running cron will wait 60 seconds before trying again to run it.
FILES
/etc/cron.d/queuedefs queue description file for at, batch, and cron.
SEE ALSO
at(1), crontab(1), nice(1), cron(1M)
SunOS 5.10 1 Mar 1994 queuedefs(4)