* [gentoo-user] Vixie-Cron /bin/sh: root: command not found
@ 2007-01-05 14:25 norman
2007-01-05 20:44 ` Richard Fish
0 siblings, 1 reply; 3+ messages in thread
From: norman @ 2007-01-05 14:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
Hello,
I am running vixie-cron, but am unable to figure out what this is all about, I have followed the http://www.gentoo.org/doc/en/cron-guide.xml
But on the report email, I only get on the email, the following:
/bin/sh: root: command not found
Here is my /etc/crontab
# for vixie cron
#
# $Header: /var/cvsroot/gentoo-x86/sys-process/vixie-cron/files/crontab-3.0.1-r4,v 1.1 2005/03/04 23:59:48 ciaranm Ex$
#
#
# Global variables
#SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
1 3 * * * root rm -f /var/spool/cron/lastrun/cron.daily
15 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
30 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly
*/10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons
Many thanks
Send instant messages to your online friends http://uk.messenger.yahoo.com
[-- Attachment #2: Type: text/html, Size: 1363 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Vixie-Cron /bin/sh: root: command not found
2007-01-05 14:25 [gentoo-user] Vixie-Cron /bin/sh: root: command not found norman
@ 2007-01-05 20:44 ` Richard Fish
2007-01-07 15:31 ` norman
0 siblings, 1 reply; 3+ messages in thread
From: Richard Fish @ 2007-01-05 20:44 UTC (permalink / raw
To: gentoo-user
On 1/5/07, norman <norman_khine@yahoo.co.uk> wrote:
> Hello,
> I am running vixie-cron, but am unable to figure out what this is all about,
> I have followed the
> http://www.gentoo.org/doc/en/cron-guide.xml
>
> But on the report email, I only get on the email, the following:
>
> /bin/sh: root: command not found
> Here is my /etc/crontab
That's the system crontab, which should have a user field in it. How
about your user-specific crontab from /var/spool/cron/crontabs/ ?
That should *not* have a user field in it AFAIK.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Vixie-Cron /bin/sh: root: command not found
2007-01-05 20:44 ` Richard Fish
@ 2007-01-07 15:31 ` norman
0 siblings, 0 replies; 3+ messages in thread
From: norman @ 2007-01-07 15:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
Hi Richard, thank you for your reply, I will look at these more closely as for the moment I have not set a user specific cron, I am just using the root to run these.
All I did was follow the tutorial, perhaps I have missed some points ;(
Cheers
Norman
Richard Fish <bigfish@asmallpond.org> wrote: On 1/5/07, norman wrote:
> Hello,
> I am running vixie-cron, but am unable to figure out what this is all about,
> I have followed the
> http://www.gentoo.org/doc/en/cron-guide.xml
>
> But on the report email, I only get on the email, the following:
>
> /bin/sh: root: command not found
> Here is my /etc/crontab
That's the system crontab, which should have a user field in it. How
about your user-specific crontab from /var/spool/cron/crontabs/ ?
That should *not* have a user field in it AFAIK.
-Richard
--
gentoo-user@gentoo.org mailing list
Send instant messages to your online friends http://uk.messenger.yahoo.com
[-- Attachment #2: Type: text/html, Size: 1251 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-07 15:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-05 14:25 [gentoo-user] Vixie-Cron /bin/sh: root: command not found norman
2007-01-05 20:44 ` Richard Fish
2007-01-07 15:31 ` norman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox