linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Tom Troonbeeckx" <tom.troonbeeckx@ideaxis.com>
To: linux-admin@vger.kernel.org
Subject: Cronjobs
Date: Wed, 30 Jul 2003 09:34:38 +0200	[thread overview]
Message-ID: <ALECJBOGPBKDNCCOAFDDMEIHCOAA.tom.troonbeeckx@ideaxis.com> (raw)

Dear Sir/Madam,

I have some proplem with mine cronjobs.

I edit mine /etc/crontab with the following command "crontab -e".
The crontab looks like this

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
01 0 * * * root run-parts /etc/cron.daily
30 14 * * * root run-parts /etc/cron.twice.a.day
30 18 * * * root run-parts /etc/cron.twice.a.day
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
3,18,33,48 * * * * root run-parts /etc/cron.quarter-hourly
1,6,11,16,21,26,31,36,41,46,51,56 * * * * root run-parts /etc/cron.5-min

I restarted the anacron-daemon.  I tested the cronjobs individually and they
work fine.
However, since I scheduled them I receive an email after each 5 and 15
minutes with the message
	/bin/bash: root: command not found

I figured out that the crondaemon is trying to execute the command root. At
some point it doesn't count the userprivilege of the cronjob.

The configuration looks in mine opinion fine.  Any ideas what went wrong?

Thanks in advance....



 Ideaxis nv
-facing the internet-

Flanders Multimedia Valley
Wetenschapspark 1
B-3590 DIEPENBEEK

Tel : +32 11 26 89 20
Fax : +32 11 23 22 17
Mobile: +32 479 13 14 81

E-Mail: tom.troonbeeckx@ideaxis.com
URL: http://www.ideaxis.com/

Ideaxis nv legal disclaimer
The information contained in this e-mail is confidential and may be
privileged. It may be read, copied and used only by the intended recipient.
If you have received it in error, please contact the sender immediately by
returning this e-mail. Please delete this e-mail and do not disclose its
contents to any person. Ideaxis nv does not accept liability for any
errors, omissions, delays of receipt or viruses in the contents of this
message which arise as a result of e-mail transmission.



             reply	other threads:[~2003-07-30  7:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30  7:34 Tom Troonbeeckx [this message]
2003-07-30  7:44 ` Cronjobs César Soler
2003-07-30  7:59 ` Cronjobs Vladimír Dvoøák
2003-07-30  8:17   ` Cronjobs Horia Chirculescu
2003-07-30  8:05 ` Cronjobs Stefan Wimmer
2003-07-30 10:16   ` Cronjobs Andrew Kelly
2003-07-30  8:13 ` Cronjobs Scott Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ALECJBOGPBKDNCCOAFDDMEIHCOAA.tom.troonbeeckx@ideaxis.com \
    --to=tom.troonbeeckx@ideaxis.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).