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


 
Thread Tools Search this Thread
Operating Systems Solaris Sun Solaris version 10: cron job does not send the default message.
# 1  
Old 12-01-2005
Network 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 message "cron output" to user. I'm wondering, the ver 10 lost that default feature or that is a bug of ver10.
Anyone is in the same shoe. Thanks
# 2  
Old 12-13-2005
I haven't heard of that issue - check that mail is going from the server first.
Then check your /var/cron/log file for errors - insure your jobs are actually running to completion. Post back what you find.
# 3  
Old 12-13-2005
No error on the /var/cron/log file

Hi all,

Our UNIX Admin confirmed that:
The mail is going from the server, we can e-mail to each other, we can also e-mail to our cdcr.ca.gov account. I don't see any specific errors pointing to mail in the /var/cron/log file..

Our batch job ran sucessfully without any errors. Our UNIX admin suggested manually send an email message after the job completion.
Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Solaris

Solaris cron job email generation not required

Hi, How do we stop default cron job emails bein generated in Solaris 10? All our cron entries are ending with /dev/null 2>&1 but still emails are being generated. And all these emails are nuisance, as they are also get relayed to our local network sendmail MTA server (for system email... (14 Replies)
Discussion started by: hasan.kamali
14 Replies

4. 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

5. Shell Programming and Scripting

how to avoid cron job output to send to the junk email folder?

Hi i created a cron job which invoke a shell script and output some content via email. Some times these output are sent to the junk email folder. i want these mails to be sent to inbox with some specific font. what i have to do? (4 Replies)
Discussion started by: vidhyaS
4 Replies

6. Solaris

How to setup a cron job to run every 45 minutes in Solaris 5.10

How to setup a cron job to run every 45 minutes in Solaris 5.10 (9 Replies)
Discussion started by: reyazan
9 Replies

7. UNIX for Dummies Questions & Answers

How to send mail from Sun OS 5.10 version?

hi I am trying to send an email from Sun OS 5.10 version. I have tried with the following commands, but none of them are working. The machine hangs after i issue the command. Then, I have to kill the process to get back the command prompt. Can anyone look into this and guide me? Do I have... (2 Replies)
Discussion started by: ss3944
2 Replies

8. Advertise with Us

HPUX and Sun Solaris Job Opportunities

Hi Guys... Already i am Completed RHCE , then i planned one more certification, So i need ur help that, Which one is better job opportunity "Hp Unix" or "Sun solaris". Thanks Raghu.V (1 Reply)
Discussion started by: raghu_linuxsurf
1 Replies

9. Solaris

How to run CRON JOB IN SOLARIS ZONE ??

Hi I am new to solaris zones........... I created a zone in solaris and i am trying to add a cron entry to that by crontab -e but when I enter that command it is just showing 253 number..... But when I enter crontab -l there are some entries my question is how to add cron entry?? when... (3 Replies)
Discussion started by: vijaysachin
3 Replies

10. Solaris

Solaris 10.5 perl and cron job execution problem

Hi, I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly 10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt However this does not work .Then I go to /var/mail/root and find an error in the output: From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
Discussion started by: sonu2die4
1 Replies
Login or Register to Ask a Question