Sponsored Content
Operating Systems Solaris How to create a simple background script on Solaris Post 302370812 by vinaysa on Thursday 12th of November 2009 12:51:32 PM
Old 11-12-2009
How to create a simple background script on Solaris

I have a local account for a unix server. The idle timeout for the account is around 10 mins. I have to login to the server multiple times during the day. Is there a way to increase the idle timeout or may be a script that I can run on background so it is not idle. Something like echo date every 9 mins. How can I do this?

Thanks.
Vinay
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Modifying simple commands to create a script

Can anyone direct me to a resource that explains scripting in simple terms? I have visited many sites and browsed this forum and have yet to find simple explanations. (8 Replies)
Discussion started by: rocinante
8 Replies

2. Shell Programming and Scripting

Newbie problem with simple script to create a directory

script is: dirname= "$(date +%b%d)_$(date +%H%M)" mkdir $dirname should create a directory named Nov4_ Instead I get the following returned: root@dchs-pint-001:/=>./test1 ./test1: Nov04_0736: not found. Usage: mkdir Directory ... root@dchs-pint-001:/=> TOO easy, but what am I... (2 Replies)
Discussion started by: gwfay
2 Replies

3. Shell Programming and Scripting

Create A Simple GUI For Shell Script

Hi all! Im wondering if its possible to create a GUI for a shell script I just got done writing as the people that will be using it dont like the command line all to well. Just something simple with radio buttons to select options, maybe a text field to enter a location to save the file generated... (1 Reply)
Discussion started by: Grizzly
1 Replies

4. Shell Programming and Scripting

Simple Script to create folders

Hi I want to write a small script that will create folders named from `AAAA' all the way to `ZZZZ'. That is: `AAAA' `AAAB' `AAAC' ... `AABA' `AABB' `AABC' ... `ABAA' `ABAB' `ABAC' ... `ABBA' ... `ZZZZ' (4 Replies)
Discussion started by: ksk
4 Replies

5. Shell Programming and Scripting

How to create a simple shell script to backup

Hello - I am in process of deleting many files which are older than 4 weeks. For example I am inside: /subsystem/prod/ Files are with various extentions, but anything older than 4 weeks should be deleted. What would be the most simplest script to acheive this? (4 Replies)
Discussion started by: DallasT
4 Replies

6. Shell Programming and Scripting

Need to create a simple script using MD5, SSH...

Hi all, I am brand new to these forums and I am a brand new UNIX Administartor. Don't know any scripting yet :wall:, and would like to learn as my boss is slowly letting me understand everything about being a Sys/*Nix Admin. He created this script which I am trying to replicate because I lost it... (54 Replies)
Discussion started by: zixzix01
54 Replies

7. Shell Programming and Scripting

How to create a simple copy script?

Guys I want to do this: copy: /var/router/system1/config/backup/install.put /var/router/system2/config/backup/install.put /var/router/system3/config/backup/install.put /var/router/system4/config/backup/install.put into: /var/router/system1/config/install.dat... (22 Replies)
Discussion started by: DallasT
22 Replies

8. Shell Programming and Scripting

Create simple script

Dear all, I have a directory named A and some subdirectories named B, C, D with .xml files. I want to use the following command to strip the file. sed -re ':start s/<*>//g; /</ {N; b start}' file.xml > file.xml At the same time, I want to remove the blank lines using sed '/^$/d' How can... (6 Replies)
Discussion started by: corfuitl
6 Replies

9. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies

10. UNIX and Linux Applications

Really simple shell script to create oracle database

Hello , I am new in this forum and need your help as I am totally confused :confused: I read a lot of threads and tried to search a lot but did not get the exact answer to my question. I just want a simple (content wise may be long) shell script to create oracle database. In detail:... (5 Replies)
Discussion started by: rahoolm
5 Replies
XMAIL(8)						      System Manager's Manual							  XMAIL(8)

NAME
XMail - Internet Mail Server SYNOPSIS
XMail [options] DESCRIPTION
XMail is an Internet and intranet mail server featuring an SMTP server, POP3 server, finger server, multiple domains, no need for users to have a real system account, SMTP relay checking, RBL/RSS/ORBS/DUL and custom ( IP based and address based ) spam protection, SMTP authenti- cation ( PLAIN LOGIN CRAM-MD5 POP3-before-SMTP and custom ), a POP3 account syncronizer with external POP3 accounts, account aliases, domain aliases, custom mail processing, direct mail files delivery, custom mail filters, mailing lists, remote administration, custom mail exchangers, logging, and multi-platform code. XMail sources compile under GNU/Linux, FreeBSD, Solaris and NT/2K. OPTIONS
Most of XMail configuration settings are command line tunables. Switches recognized by server: XMail core -Ms pathname Mail root path. -Md Activate debug (verbose) mode. -Mr hours Activate log rotation. -Mx split-level Set the queue split level. The value You set here is rounded to the lower prime number higher or equal than the value You've set. -MR bytes Set socket receive buffer size. -MS bytes Set socket send buffer size. POP3 Server -Pp port Set POP3 server port. -Pt timeout Set POP3 session timeout (seconds) after which the server will close the connection if not receive any commands. -Pl Enable POP3 logging. -Pw timeout Set the delay timeout in response to a bad POP3 login. Such time will be doubled at the next bad login. -Ph Hang the connection in bad login response. -PI ip[:port] Bind server to the specified ip address and optional port ( can be multiple ). -PX nthreads Set the maximum number of threads for POP3 server. SMTP Server -Sp port Set SMTP server port. -St timeout Set SMTP session timeout in seconds after which the server will close the connection if not receive any commands. -Sl timeout Enable SMTP logging. -SI ip[:port] Bind server to the specified ip address and optional port ( can be multiple ). -SX nthreads Set the maximum number of threads for SMTP server. -Sr maxrcpts Set the maximu number of recipients for a single SMTP message ( default 100 ). -Se nsecs Set the expire timeout for a POP3 authentication IP ( default 900 ). SMTP Queue Processing -Qn nthreads Set the number of mailer threads. -Qt timeout Set the timeout to be waited for a next try after send failure. Default 480. -Qi ratio Set the increment ratio of the reschedule time in sending a messages. At every failure in delivery a message, reschedule time T is incremented by ( T / ratio ), therefore T(i) = T(i-1) + T(i-1)/ratio. If You set this ratio to zero, T remain unchanged over delivery tentatives. Default 16. -Qr nretries Set the maximum number of times to try to send the message. Default 32. -Ql Enable SMAIL logging. POP3 Account synchronization -Yi interval Set external POP3 accounts sync interval. Default 120. -Yt nthreads Set the number of POP3 sync threads. Finger server -Fp port Set FINGER server port. -Fl Enable FINGER logging. -FI ip[:port] Bind server to the specified ip address and optional port ( can be multiple ). Remote administration server -Cp port Set CTRL server port. -Ct timeout Set CTRL session timeout after which the server will close the connection if not receive any commands. -Cl Enable CTRL logging. -CI ip[:port] Bind server to the specified ip address and optional port ( can be multiple ). -CX nthreads Set the maximum number of threads for CTRL server. Local mail processing -Ln nthreads Set the number of local mailer threads. -Lt timeout Set the sleep timeout for LMAIL threads. Default 2 sec. -Ll Enable local mail logging. ENVIRONMENT
MAIL_ROOT XMail root directory. MAIL_CMD_LINE Command line arguments. NOTES
If XMail catches signal SIGINT, it performs a clean shutdown. Shutdown operation may take some time. SEE ALSO
sendmail(1). AUTHOR
XMail program was written by Davide Libenzi <davidel@xmailserver.org>. This manual page was written by Radim Kolar <hsn@cybermail.net>, for the Debian GNU/Linux system (but may be used by others). March 12, 2002 XMAIL(8)
All times are GMT -4. The time now is 05:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy