You have quite a bit in there that is unnecessary. If you keep all date/times as seconds, it will make it a little easier:-
Does that help a little? I've trimmed out unnecessary sub-processes cause by back-ticks `, expr and the cat too. it might be marginal, but they (along with getting the current date once) should keep this a little more consistent.
What is the time_wait interval for Solaris 8/9??? and is it configurable???
For example sometimes a clients pc will freeze up dropping the connection, closing the port. The problem is on our side our system still thinks their logged in (until it realizes it dropped on the otherside and drops on... (1 Reply)
hai everyone
I want to send mail with attachments automatically
for every 15 minutes getting different E-mail IDs from a file
if any script is available , Please send to me ..
This will be very useful for my project....
Thanks for your time.....
Felix
... (3 Replies)
Hi All,
I am new to this forum....
Can neone please help me how to copy files between two time intervals i.e. I need to copy files from 6.30 to 9.30 on 5th June 09.
Any help is appreciated. (2 Replies)
hi,
i am very much new to shell scripting i have a requirement that i have to develop a License Renewal Alert system
that has to give a alert mail to the users before 30days of user account expiration, by checking expiration date of the user with the data base, this system will... (0 Replies)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Folks,
I need to send a .log file to my email for every one hour from a server that too only in a particular time period. Is awk mandate here? or can we do it in shell scripting only? Please help me in sorting this out.
Cheers,
Arun (3 Replies)
Hi Friends,
I am newbie to shell programming and I am stuck trying to accomplish following task.We use Bamboo CI which executes script1 passing parameters. This Main script executes script2 as backend process as part of one of it statements. Task of script2 is to essentially check whether a... (0 Replies)
Hi All,
Sorry for long topic here.
So the drill goes like that, I need a script which gathers different values from different files/locations.
A_CT=`cat a.dat | awk -F'|' '{print $1}' >> report.txt`
B_CT=`cat b.dat | awk -F'|' '{print $3}' >> report.txt`
C_CT=`cat c.dat | awk -F'|'... (4 Replies)
Hi,
I schedule a script on linux server and it is taking more time say "30 minutes" to send the report via mail.
Could you please suggest a way to speed up sending report to mail?
OS version -- Red Hat Enterprise Linux Server release 6.5 (Santiago)
Regards,
Maddy (2 Replies)
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
LEARN ABOUT DEBIAN
pius
PIUS(1) General Commands Manual PIUS(1)NAME
pius - PGP Individual UID Signer
SYNOPSIS
pius [options] -s <signer-keyid> <keyid> [<keyid> ...]
pius [options] -A -r <keyring-path> -s <signer-keyid>
DESCRIPTION
pius The PGP Individual UID Signer (PIUS) is a tool for individually signing all of the UIDs on a set of keys and encrypt-emailing each one
to it's respective email address. This drastically reduces the time and errors involved in signing keys after a keysigning party.
OPTIONS --version
show program's version number and exit
-h or --help
show this help message and exit
-a or --use-agent
Use pgp-agent instead of letting gpg prompt the user or every UID. [default: false]
-A or --all-keys
Sign all keys on the keyring. Requires -r.
-b PATH or --gpg-path=PATH
Path to gpg binary. [default: /usr/bin/gpg]
-e or --encrypt-outfiles
Encrypt output files with respective keys.
-d or --debug
Enable debugging output.
-H HOSTNAME or --mail-host
Hostname of SMTP server. [default: localhost]
-i or --interactive
Use the pexpect module for signing and drop to the gpg shell for entering the passphrase. [default: false]
-I or --import
Also import the unsigned keys from the keyring into the default keyring. Ignored if -r is not specified, or if it's the same as the
default keyring.
-m EMAIL or --mail
Email the encrypted, signed keys to the respective email addresses. EMAIL is the address to send from. See also -H and -p.
-M FILE or --mail-text
Use the text in FILE as the body of email when sending out emails instead of the default text. To see the default text use --print-
default-email. Requires -m.
-n EMAIL or --override-email
Rather than send to the user, send to this address. Mostly useful for debugging.
-o OUTDIR or --out-dir
Directory to put signed keys in. [default: /tmp/pius_out]
-O or --no-pgp-mime
Do not use PGP/Mime when sending email.
-p or --cache-passphrase
Cache private key passphrase in memory and provide it to gpg instead of letting gpg prompt the user for every UID. [default: true]
-P PORT or --mail-port
Port of SMTP server. [default: 25]
-r KEYRING or --keyring
The keyring to use. Be sure to specify full or relative path. Just a filename will cause GPG to assume relative to ~/.gnupg.
[default: ~/.gnupg/pubring.gpg]
-s SIGNER or --signer
The keyid to sign with (required).
-S or --mail-tls
Use STARTTLS when talking to the SMTP server.
-t TMP_DIR or --tmp-dir
Directory to put temporary stuff in. [default: /tmp/pius_tmp]
-T or --print-default-email
Print the default email.
-u USER or --mail-user
Authenticate to the SMTP server, and use username USER. You will be prompted for the password. Implies -S.
-v or --verbose
Be more verbose.
AUTHOR
PIUS was written by Phil Dibowitz <phil@ipom.com>
This manual page was written by Luke Cycon <lcycon@gmail.com>, for the Debian project (but may be used by others).
MARCH 2010 PIUS(1)