05-27-2013
Hi.
You can check in /etc/logrotate.conf
There is the way to rotate wtmp log file.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have problem but i didnt solve it. Could you help me? :)
Problem: Everyday at 12.17 we will append information to the file "log" about users who are logged and the information about all processes which are active to the user_activity file in our home directory..
I know that I must use cron... (1 Reply)
Discussion started by: mavikartal
1 Replies
2. Shell Programming and Scripting
I need to capture the vmstat output of a server every 5 minutes, in a text filename with the name in the format vmoutput. yesterday's date.txt. I need to get the vmstat o/p for the whole day with 5 minutes interval and send it (preferably ftp) to my local desktop folder.
eg: vmstat 300... (1 Reply)
Discussion started by: yuvanash
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have a cronjob that i am currently running which is as follows:
php /home/****/cronjob.php --debug 2>&1 >> /home/cronjoboutput.txt
That, as you may know, logs the output to a file called cronjoboutput.txt in the home directory.
I want that cronjob to output to a different file... (6 Replies)
Discussion started by: umarsa
6 Replies
4. Shell Programming and Scripting
Hi,
Can someone help me in running a cronjob everyday between 7 and 8 pm with the time interval of 5 minutes in between to repeat that script. The script is so small and I need that to run daily between this time. Please if possible provide me the syntax for this logic.
Thanks. (4 Replies)
Discussion started by: cya
4 Replies
5. Shell Programming and Scripting
quick question:
I have a current script that will put the output on a log file. See snapshot of the code below. I wanted this to be rotated everyday based on date. So if anyone execute the script today there will be a filecreated such as sys.log.(datetoday), if tomorrow it would be... (1 Reply)
Discussion started by: lhareigh890
1 Replies
6. Shell Programming and Scripting
Hi
I want to execute a cron job everyday at 14:50 hrs. I have a script like this:
TMP_FILE="/tmp/tmpcron.txt"
RES=0
/usr/bin/crontab -l >> $TMP_FILE
ADD_JOB="50 14 * * * /opt/mypath/scriptname.sh"
grep "scriptname.sh" $TMP_FILE >> /dev/null
JOB_NOT_EXIST=$?
if test $JOB_NOT_EXIST... (2 Replies)
Discussion started by: saurabhkoar
2 Replies
7. UNIX for Dummies Questions & Answers
I am facing an Issue with a particular Unix Account ( ie a particular Userid) getting LOCKED everyday between 7:30am and 8:00am. The Password associated with this particular Account has been setup such that it should never Expire at all but it does LOCK the Account after more than 3 failed... (5 Replies)
Discussion started by: pchegoor
5 Replies
8. AIX
Hello,
I was trying to run a script on a dev server using cron job. It supposed to run 3rd sunday of every month.
45 4 15-21 * 0 /home/user1/myscript.sh >/dev/null 2>&1 # run this script 3rd sunday of every month
When I Schedule it on AIX server, It is running every day at 4:45 AM.
am I... (3 Replies)
Discussion started by: Kumar7997
3 Replies
IAUTH(8) System Manager's Manual IAUTH(8)
NAME
iauth - The Internet Relay Chat Authentication Program
SYNOPSIS
iauth [ -v | -c configfile ]
DESCRIPTION
iauth is a slave process used by the ircd program to perform the authentication of incoming TCP connections. The ircd program starts iauth
upon startup.
iauth will close and reopen the log file whenever it receives a user signal 2, SIGUSR2. This is useful to rotate the log file.
OPTIONS
-c filename
When this flag is given, the program will read the configuration file specify and validate it. This is useful to check for errors
in the setup.
-v This option dumps information about the version.
EXAMPLE
millennium% iauth -c iauth.conf
iauth 2.10
Reading "iauth.conf"
Module(s) loaded:
rfc931
COPYRIGHT
(c) 1998 Christophe Kalt
For full COPYRIGHT see LICENSE file with IRC package.
FILES
"iauth.conf"
SEE ALSO
iauth.conf(5) ircd(8)
BUGS
None... ;-) if somebody finds one, please send mail to ircd-bugs@irc.org
AUTHOR
Christophe Kalt.
$Date: 2001/10/20 17:57:24 $ IAUTH(8)