11-18-2004
Cron daemon
I ve a problem with the cron daemon.
i ve a process that sends many mail, and full my /var FS
i don t want to write a script that would clean its mails
i want to know if it would be possible to stop the cron daemon sending mails only for that specific process.
Thanks !
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hey all,
I'm running Mandrake 7.2 with several of the development/server tools loaded and operating. One problem I'm having is that I keep getting emails from the "Cron Daemon". They all say:
touch: /var/log/news/nntpsend.log: Permission denied
chmod: same as above
/usr/bin/nntpsend: ... (2 Replies)
Discussion started by: ober5861
2 Replies
2. SCO
Hi
We are running SCO ver 5. Recently the cron daemon stopped running on its own. How do I find out why? How do I restart/stop it?
I typed cron but it didn't work. Will rebooting it do the trick or can I manually start and stop the cron daemon?
Please help.
Thanks & Regards. (0 Replies)
Discussion started by: othman
0 Replies
3. AIX
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
4. UNIX for Dummies Questions & Answers
hi,
i need to execute/visit a site to check if the site is up or not i have a server that have cron shedule that can execute a php file now how can i execute/visite a site using the same way as i execute a file?
thanks a lot for your help :) (1 Reply)
Discussion started by: jasonx22
1 Replies
5. Solaris
Hello All,
In SunOS 10, I have some cron jobs and it is running fine but the cron job outputs are not mailing to any acount of the system.
In other OS, we have option like MAILTO variable or /dev/null to disable but in Sun I have no idea how it is disabled by default and how do I... (13 Replies)
Discussion started by: Tlogine
13 Replies
6. UNIX for Dummies Questions & Answers
I am not system admin on Unix or Linux server. I am Oracle DBA to work on these operating systems. On our Oracle Linux 5.8 box, it always pump up the alert message like this:
Cron Daemon
/bin/sh: /opt/oracle/product/middleware/agent11g/ccr/bin/emCCR: No such file or directory
Please help... (2 Replies)
Discussion started by: duke0001
2 Replies
7. Fedora
Hi All,
Please tell me which daemon is responsible for start and stop the crontab.
Please tell me the location where it resides in Linux platform.
Sindu. (2 Replies)
Discussion started by: indira_s
2 Replies
8. Shell Programming and Scripting
Hi
I have a requirement to write a shell script,that will check the all commented job in cron job.Please help !! (2 Replies)
Discussion started by: netdbaind
2 Replies
9. Shell Programming and Scripting
Hi,
1)
If some job supposed to run on 1st of every month at 7 AM
In cron job when we have a blackout on the 1st ( i.e when 1st falls on a sunday ) how can we make the job run the next business day?
2) How can we run a job on 25th of every quarter 7 AM(jan,apr,jul,oct)
And if 25th... (5 Replies)
Discussion started by: System Admin 77
5 Replies
10. UNIX for Dummies Questions & Answers
Hello gurus,
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
#!/bin/ksh
db2... (3 Replies)
Discussion started by: okonita
3 Replies
CRON(8) System Manager's Manual CRON(8)
NAME
cron - clock daemon
SYNOPSIS
auth/cron [-c]
DESCRIPTION
Cron executes commands at specified dates and times according to instructions in the files /cron/user/cron. It runs only on an authentica-
tion server. Option -c causes cron to create /cron/user and /cron/user/cron for the current user; it can be run from any Plan 9 machine.
Blank lines and lines beginning with # in these files are ignored. Entries are lines with fields
minute hour day month weekday host command
Command is a string, which may contain spaces, that is passed to an rc(1) running on host for execution. The first five fields are integer
patterns for
minute 0-59
hour 0-23
day of month 1-31
month of year 1-12
day of week 0-6; 0=Sunday
The syntax for these patterns is
time : '*'
| range
range : number
| number '-' number
| range ',' range
Each number must be in the appropriate range. Hyphens specify inclusive ranges of valid times; commas specify lists of valid time ranges.
To run the job, cron calls host and authenticates remote execution, equivalent to running rx host command (see con(1)). The user's profile
is run with $service set to rx.
Cron is not a reliable service. It skips commands if it cannot reach host within two minutes, or if the cron daemon is not running at the
appropriate time.
EXAMPLES
Here is the job that mails system news.
% cat /cron/upas/cron
# send system news
15 8-17, 21 *** helix /mail/lib/mailnews
%
SOURCE
/sys/src/cmd/auth/cron.c
SEE ALSO
con(1), rc(1)
CRON(8)