Sponsored Content
Top Forums Shell Programming and Scripting how to avoid cron job output to send to the junk email folder? Post 302526297 by kumaran_5555 on Tuesday 31st of May 2011 05:51:57 AM
Old 05-31-2011
If you are looking for a mail with font and other style, you will have to send in html format with the proper style tags. By default mail -s will send the content as normal text.

Mails reaching junk email folder is your e-mail client configuration. You will have to check the client which is recieving the mails instead the script
 

10 More Discussions You Might Find Interesting

1. Solaris

Sun Solaris version 10: cron job does not send the default message.

Hi all, Our servers were on Sun Solaris 8.1, anytime a cron job executed the user ran that job received a email of job's output. I think that the default and Administrator did not setup anything. However, when we upgraded the OS to Sun Solaris ver.10, the cron job is no longer send a email... (2 Replies)
Discussion started by: cmnguyen
2 Replies

2. UNIX for Dummies Questions & Answers

cron job from specific folder

i'd like to be able to run a cron job from a specific folder /var/www/html a php script which imports rss feeds i created a simple shell script cd /var/www/html php -q import.php webmin says it executed correctly, but when i check the site, nothing has happened what am i doing... (1 Reply)
Discussion started by: sanchoquixote
1 Replies

3. AIX

Cron Job notification email

Hi, I'm fairly new to Aix and am looking for some help on the following. I have setup a cron job under root and want it to send the email once it's run to an external email address. I can get it to send the output in an email to me by using mail on the end of the crontab entry. But I would... (1 Reply)
Discussion started by: elmesy
1 Replies

4. Shell Programming and Scripting

Cron Job Automated Email Alternatives?

Hi guys, not sure if this would be the right place for this but I dont where else it would go... I'm new to Unix too, so please bare with me :) I guess first up some background on the situation. We have some scripts that run as cron jobs which monitor and check the health, etc of our servers.... (2 Replies)
Discussion started by: BrianD
2 Replies

5. Shell Programming and Scripting

Send an email once a job is completed

Hi, The HPCs I used earlier used PBS (Portable Batch System) to schedule when I was running various jobs and it had an option to send me an email once a job is completed. I'm wondering whether this is possible for any other process (without the use of PBS). For example, I'm running some codes... (2 Replies)
Discussion started by: lost.identity
2 Replies

6. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

7. UNIX for Advanced & Expert Users

send an email to my Drafts folder

Is there a way I can send a text file directly to my Drafts folder? (1 Reply)
Discussion started by: idontknow
1 Replies

8. Shell Programming and Scripting

how to run a script using cron job and send the output as attachment via e-mail using unix

how to run a script using cron job and send the output as attachment via e-mail using unix. please help me. how my cron job entry should be? As of now my cron job entry is to run the script at specific time, 15 03 * * * /path/sample.sh | mail -s "Logs" email_id In the above entry, what... (8 Replies)
Discussion started by: vidhyaS
8 Replies

9. Shell Programming and Scripting

I want to send an email after cron job

I am using centos 6.4. I have a few cron jobs setup and they all work fine. However, I would like to enhance one of the crons. This is what I have at the moment: nice rsync -au /home/samba/wsaler/* /home/samba/wsaler.backup/wsaler.backup18pm date | /bin/mail -s "wsaler 3:00pm backup... (8 Replies)
Discussion started by: countrydj
8 Replies

10. Shell Programming and Scripting

Script that will send an email if the cron job did not run.

Team, Would like to know what is the best script that will send you an email if cronjob did not run. Thanks (4 Replies)
Discussion started by: kenshinhimura
4 Replies
SEND-REMINDERS(1)					User Contributed Perl Documentation					 SEND-REMINDERS(1)

NAME
Send-reminders - send email reminders for special occasions SYNOPSIS
Send emails reminders set by users for special occasions. DESCRIPTION
Email-reminder allows users to define events that they want to be reminded of by email. Possible events include birthdays, anniversaries and yearly events. Reminders can be sent on the day of the event and a few days beforehand. This script is meant to be invoked everyday by a cron job. It mails the actual reminders out. When run by the root user, it processes all of the spooled reminders. When run by a specific user, it only processes reminders set by that user. OPTIONS
--help Displays basic usage message. --simulate Does not actually send any emails out. --verbose Prints out information about what the program is doing, including the full emails being sent out. --version Displays the version number. FILES
~/.email-reminders, /etc/email-reminder.conf AUTHOR
Francois Marier <francois@email-reminder.org.nz> SEE ALSO
email-reminder-editor, collect-reminders COPYRIGHT
Copyright (C) 2004-2010 by Francois Marier Email-Reminder is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Email-Reminder is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Email-Reminder; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. perl v5.14.2 2012-05-28 SEND-REMINDERS(1)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy