Sponsored Content
Top Forums Shell Programming and Scripting How to disable cron emails, but only for logrotate only not for other logs? Post 302940682 by kenshinhimura on Wednesday 8th of April 2015 09:46:16 AM
Old 04-08-2015
How to disable cron emails, but only for logrotate only not for other logs?

Guys, is there a script or command?

how to disable cron emails, but only for logrotate only not for other logs
 

10 More Discussions You Might Find Interesting

1. AIX

AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log

Hi, I can use 'crontabs –e' and do all the scheduling I like. However I would like to auto send myself just the cronjobs logs that fail. That is to say the PIDs that fail and the related lines with those PID’s only. (Not the full set of logs) Has anyone done this work? Or does an AIX 5.3 tool... (0 Replies)
Discussion started by: Keith Johnson
0 Replies

2. UNIX for Dummies Questions & Answers

Delete Old Spam Emails Custom Cron

Hey Guys, I've done some research however I got stuck. My goal is to create a cron job that runs every hour and goes through all web accounts on my server and deletes spam emails that are older than 3 days. This is what I came up with: 0 * * * * find /home/*/mail/*/*/.spam/cur/* -type f... (0 Replies)
Discussion started by: plxkarl
0 Replies

3. UNIX for Advanced & Expert Users

How to disable application level logs in Unix?

Hi, I'm working in an application and the related Java code and the envrionment is in Unix server. We are generating the log messages using loggers of Java.util.log . But, the logs are not getting generated in the log files. We feel that the people who developed the system might have done some... (6 Replies)
Discussion started by: kelangovan
6 Replies

4. UNIX for Advanced & Expert Users

cron/logrotate chicken and egg problem

I have run into a problem where about a dozen machines, all the same x86_64 2.6.12 GNU/Linux. For some reason these machines will fill up their /var partition (10G), because their logs never get rotated... Unfortunately, there is no error message from logrotate (would be in /var/log/messages) and... (8 Replies)
Discussion started by: jjinno
8 Replies

5. UNIX for Dummies Questions & Answers

disable cron job

Hi all, I am not the unix person but have to disable cron job on the server I typed crontab -l to list the job there is one job then i tried crontab -e and got one result 100 ( i do not know what that means) how can i disable the job to run i want to disable the job. Please show me... (3 Replies)
Discussion started by: patdev
3 Replies

6. Solaris

Disable all the logs in Solaris

Hi Is there anyway to disable all logs/logging (lastlog, sulog, messages etc.) in Solaris 9&10? I know this is not recommended but i just want to know if this is possible. TIA Reddy (8 Replies)
Discussion started by: reddyr
8 Replies

7. SuSE

Which logs to logrotate?

Hi all We've had new servers coming in and one of the requirement was to keep logs for up to 8 months. I know logrotate can do the job, but by default (on Suse Enterprise10, 11) we have these logs in /etc/logrotate.d dir as default logs which are rotated: -rw-r--r-- 1 root root 140 Jul... (0 Replies)
Discussion started by: hedkandi
0 Replies

8. UNIX for Dummies Questions & Answers

logrotate and cron.daily/weekly

Hi guys, I've got two separate logrotates I'd like to run, one for Tomcat and one for Apache, but I'd like to run the Tomcat one daily and the Apache one weekly. Now, the logrotate itself is working fine, but although I have 'daily' in Tomcat, and 'weekly' in the Apache one, the latter is... (2 Replies)
Discussion started by: jimbob01
2 Replies

9. Debian

Logrotate truncated my log files to 0 bytes and no logs are written

Hi, Yesterday I installed and configured logrotate on my Debian machine. I was expecting this to run at 06:25 in the morning and it actually did. All my old logs were compressed and zipped but the new logs were all with size equal to 0 bytes. Processes, while still running ok, they were not... (2 Replies)
Discussion started by: pmatsinopoulos
2 Replies

10. UNIX and Linux Applications

Logrotate with catalina.out "daily compressed file is overwriting the logs"

Hi Everyone, We are trying to do a logrotate for "catalina.out" daily, So have used the "copytruncate" option in the logrotate configuration but ended up seeing there was a 0kb file touched with "catalina.out" and the other file with the current date(compressed) file created and seems the log is... (2 Replies)
Discussion started by: thiyagoo
2 Replies
WEDGED(8)						      System Manager's Manual							 WEDGED(8)

NAME
wedged - HylaFAX modem wedged script SYNOPSIS
/var/spool/hylafax/bin/wedged devid device DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5). The default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch then the script will attempt to disable any faxgetty processes spawned by the init(8) process for the problematic modem. In addition the faxq(8) process automatically disables use of the modem for servicing outbound jobs. The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac- ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem. If there exists an executable file /var/spool/hylafax/etc/resetmodem then that file will be executed upon execution of the wedged script in an effort to recover the modem. FILES
/usr/lib/sendmail for delivering mail SEE ALSO
faxq(8), hylafax-config(5) October 3, 1995 WEDGED(8)
All times are GMT -4. The time now is 07:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy