09-28-2009
Crontab & MAILTO
Hi there,
I'm working with two servers, one with FEDORA 6 and the other one with FEDORA 7, and if I put these lines in crontab:
MAILTO=MYADDRESS@mail.com
*/1 * * * * df -h
everything works fine on FEDORA 7 , while it doesn't work on6?!?...and I find this message in the log file:
MAIL (mailed 70 bytes of output but got status 0x0047 )
Any help would be really appreciated!
GB
10 More Discussions You Might Find Interesting
1. Solaris
Does any one knows a work around for the crontab bug when connecting using ssh to a Solaris 8 system?
When you submit a crontab job through a ssh session, the job will not be executed, SunSolve has reported no fixing patches? (3 Replies)
Discussion started by: Negm
3 Replies
2. Shell Programming and Scripting
Im a beginner in shell scripting, but I figured if I wanted the right answer, this is the place to come.
I've written a script that basically executes a command and sends the result to a standard output > ???log.log. I just wanted to know if I could put the MailTo command somewhere in the... (2 Replies)
Discussion started by: Itsaboutme
2 Replies
3. Solaris
I have 3 solaris 9 servers
1 allows me to use MAILTO in the crontab, but the other 2 dont.
Error
MAILTO=oracle
crontab: error on previous line; unexpected character found in line.
crontab: errors detected in input, no crontab file generated.
Any Ideas?? (8 Replies)
Discussion started by: raza
8 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
I'm using crontab to move some files every minute, but when crontab doesn't find these files it sends a message to the file "user_name" in the directory "var/spool/mail". Is it possible to "bypass" this problem?
Thanks in advance,
Giordano Bruno (1 Reply)
Discussion started by: Giordano Bruno
1 Replies
5. UNIX for Dummies Questions & Answers
while we editing the cron at the end of the cron what is the purpose of giving 2 >&1 (4 Replies)
Discussion started by: senmak
4 Replies
6. Shell Programming and Scripting
Help!
I am using sed to convert text files into easily viewed html tables.
I have managed all except converting the email addresses to mailto: links.
Multiple email addresses exist within the files, either preceded by a space or > (as part of HTML tag), and followed by either space or <
I've... (5 Replies)
Discussion started by: Nigel_R
5 Replies
7. Solaris
Hi Experts,
I would like to know, what does "2>&1" do in crontab?
example:
* * * * * /export/user/home/test.sh >> /export/user/home/logtest.log 2>&1
My colleague told me the commabd 2>&1 mean to prevent crontab sending an email (sendmail on /var/mail/root) when the script failed. So, if... (5 Replies)
Discussion started by: edydsuranta
5 Replies
8. Solaris
Hello Guru's
I'm trying to take the output of solaris top command and output to a txt file every few minutes. The issue that I'm experiencing is that I can run the following:
#!/bin/bash
#
logfile="/usr/mvf/morris/top.log"
# echo... (2 Replies)
Discussion started by: littlemorris
2 Replies
9. UNIX for Dummies Questions & Answers
HI,
I am using centos 6 and finding difficultly in doing 2 below things.
1. i have a user praveen i want to allow him to create cron job of his own. so i have added his user id in cron.allow but still it is not allowing him to edit(even if i have created praveen from root user) or create his... (4 Replies)
Discussion started by: praveenkumar198
4 Replies
10. Shell Programming and Scripting
I have a script that emails me when I run it manually, but the crontab I'm using must be 'silencing' the output? Here's what I have:
*/15 * * * * /usr/src/blah.sh > /dev/null 2>&1
I don't want it to email me every time it runs, just when I run the sendmail command inside the script if the... (13 Replies)
Discussion started by: unclecameron
13 Replies
LEARN ABOUT DEBIAN
mime::base32
Base32(3pm) User Contributed Perl Documentation Base32(3pm)
NAME
MIME::Base32 - Base32 encoder / decoder
SYNOPSIS
# RFC forces the [A-Z2-7] RFC-3548 compliant encoding
# default encoding [0-9A-V] is for backward compatibility with pre v1.0
use MIME::Base32 qw( RFC );
$encoded = MIME::Base32::encode($text_or_binary_data);
$decoded = MIME::Base32::decode($encoded);
DESCRIPTION
Encode data similar way like MIME::Base64 does.
Main purpose is to create encrypted text used as id or key entry typed-or-submitted by user. It is upper/lowercase safe (not sensitive).
EXPORT
ALLWAYS NOTHING
AUTHOR
Daniel Peder, sponsored by Infoset s.r.o., Czech Republic <Daniel.Peder@InfoSet.COM> http://www.infoset.com
COPYRIGHT
Copyright (c) 2003-2010 Daniel Peder. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
NOTE
Version 1.02 provides minor changes only: - added COPYRIGHT according to FEDORA & DEBIAN community requests - test.pl - extended test
string (just for sure ;)
SEE ALSO
perl(1), MIME::Base64(3pm).
perl v5.10.1 2010-08-25 Base32(3pm)