Sponsored Content
Full Discussion: Cron entry
Operating Systems Solaris Cron entry Post 303016466 by MadeInGermany on Friday 27th of April 2018 08:52:36 AM
Old 04-27-2018
rc=2 means exit status 2.
This is not from "file not found" (which is rc=127 in Solaris),
but from something in the stop script.
You can expect some diagnostics on stderr, and this by default is sent via mail to the user. Here the user is root, so check root's mail!
Or also redirect it to the log file with >> /var/log/myjob.log 2>&1, and have a look in the log file.
 

10 More Discussions You Might Find Interesting

1. AIX

Cron entry

Hi All, I want to run a cron job to run on the first saturday of each month at 1:30am. Would the following entry suffice this condition 30 1 6 * 6 wall %Will this work% Appreciate your time. (1 Reply)
Discussion started by: rramanuj
1 Replies

2. UNIX for Dummies Questions & Answers

cron entry

Hi, Where can we find Cron job logs?i have a cron job which is not executing at all, 00 12 * * * /xx/yy/job > /pp/qq/log if i execute the job alone,it is executing fine. >/xx/yy/job > /pp/qq/log (is executing fine) but its not executing when it triggered from cron.is there any place cron... (7 Replies)
Discussion started by: rujus
7 Replies

3. Shell Programming and Scripting

Cron Entry

Hi folks, I have got the following cron entry ... 08 30 * * * /mp1/scripts/test.sh > /mp1/scripts/test_logs.txt 2>&1 The problem is that instead of generating a new test_logs.txt file every time it keeps on appending the outputs to the test_logs.txt file. What is it that I am doing wrong... (2 Replies)
Discussion started by: King Nothing
2 Replies

4. Shell Programming and Scripting

not able to locate the cron entry

Hi, I am new to unix. I have once made an entry into cron file for one scirpt to run. The script sends me email. But i want the script entry removed from the cron file. But i am not able to find the entry in cron file. When i do crontab -e it shows content of the file but my script is... (3 Replies)
Discussion started by: ajincoep
3 Replies

5. Solaris

User entry in both cron.allow and cron.deny

Hello All, Anybody please help me to know ,what happens when a user having entry in both cron.allow and cron.deny files.Wheather the user will be able to access the crontab??? Thanks in advance Vaisakh (5 Replies)
Discussion started by: ksvaisakh
5 Replies

6. UNIX for Dummies Questions & Answers

cron entry

Can someone please quickly respond to this? I need to have a script test.sh to run every 30 minutes from Monday to Saturday from 6am to 10pm as a crontab entry... Thanks. (3 Replies)
Discussion started by: everurs789
3 Replies

7. UNIX for Advanced & Expert Users

cron entry

Hi, I need some clarification on cron entries. I have a cron job like.. 15 01 19 02 6 exec /usr/bin/test.ksh and I have another cron entry added, which is 15 01 20 02 6 exec /usr/bin/test.ksh So, I am thinking the second cron entry shouldn't have run because 02/20 is Sunday, but... (1 Reply)
Discussion started by: everurs789
1 Replies

8. Solaris

cron entry

Hi, I have to add two cron entry now. Please correct me if anything wrong Below script should run at every one and half hour. 30 01 * * * /export/home/gxadm/scripts/collect_mq_info.pl $HOME/GCSS/logs > /dev/null 2>&1 Below script should run at every 2 hours 0 02 * * *... (9 Replies)
Discussion started by: Mani_apr08
9 Replies

9. Shell Programming and Scripting

Cron JOb Entry

Hi All, i have a folder in a server say xxx.xx.xx.xx\abcd\efgh. i want to make a cron job entry so that i would get a mail (me@example.com) on business days. will this help me... 30 4 * * 1-5 cd \abcd\efgh|ls-ltr|mailx:me@example.comhttps://www.unix.com/images/editor/code.png (10 Replies)
Discussion started by: mahesh300182
10 Replies

10. Solaris

Cron entry not running

Hi I have one entry in my crontab that do not run, in cron, but it runs manually: 53 7 * * * /moneta_polled01/download/./get_dealer.sh 55 7 * * * /moneta_polled01/download/./mov_dealer.sh The first entry do not run automatically, but it runs manually. The second entry runs... (12 Replies)
Discussion started by: fretagi
12 Replies
MAILGRAPH(8)						      System Manager's Manual						      MAILGRAPH(8)

NAME
mailgraph - daemon which produces graphs of SMTP traffic SYNOPSIS
mailgraph [ options ] DESCRIPTION
mailgraph is a daemon which produces mail statistics RRDtool for Postfix and Sendmail. This stats are stored for generating daily, weekly, monthly and yearly graphs of sent/received/rejected and bounced/viruses/spam mails. OPTIONS
-h, --help Display help and exit. -v, --verbose Be verbose about what you do. -V, --version Output version information and exit. -c, --cat Cause the logfile to be only read and not monitored. -l, --logfile file Monitor logfile file instead of /var/log/syslog. -t, --logtype type Set logfile's type (default: syslog). -y, --year Start year of the log file (default: current year). --host=HOST Use only entries for HOST (regexp) in syslog. -d, --daemon Start in the background --daemon-pid=FILE Write PID to FILE instead of /var/run/mailgraph.pid. --daemon-rrd=DIR Write RRDs to DIR instead of /var/lib/mailgraph/. --daemon-log=FILE Write verbose-log to FILE instead of /var/log/mailgraph.log. --ignore-localhost Ignore mail to/from localhost (used for virus scanner). --ignore-host=HOST Ignore mail to/from HOST (used for virus scanner). --no-mail-rrd Do not update the mail rrd. --no-virus-rrd Do not update the virus rrd. --no-greylist-rrd Do not update the greylist rrd. --rrd-name=NAME Use NAME.rrd, NAME_virus.rrd and NAME_greylist.rrd for the rrd files. --rbl-is-spam Count rbl rejects as spam. --virbl-is-virus Count virbl rejects as viruses. SEE ALSO
rrdtool(1), RRDs(3pm) AUTHOR
David Schweikert <dws@ee.ethz.ch> MAILGRAPH(8)
All times are GMT -4. The time now is 01:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy