Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Andrei POPESCU
On Du, 11 mai 14, 12:07:47, Ron Leach wrote: > > /var/spool/cron/crontabs/root indeed contains exactly the error you mention: > > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.jE2KHC/crontab installed on Fri Dec 31 08:54:50 2010) > # (Cron version -- $Id: crontab.c,v

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Martin Steigerwald
Am Sonntag, 11. Mai 2014, 11:53:30 schrieb Ron Leach: > On 11/05/2014 10:48, Martin Steigerwald wrote: > > Look into > > > > - /etc/cron.d > > - crontab -l > > > > It would not make much sense, but maybe someone added a call to > > /etc/cron.hourly there. > > server4:/# crontab -l > # /etc/cront

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Filip
On Sun, 11 May 2014 12:07:47 +0100 Ron Leach wrote: > > Filip, the comment suggests that I shouldn't edit this file here. Do > you have any idea where, or what, its 'master' version might be? The correct way to edit the per-user crontabs it with # crontab -u -e -- To UNSUBSCRIBE, email t

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Andrei POPESCU
On Du, 11 mai 14, 11:53:30, Ron Leach wrote: > > server4:/# crontab -l > # /etc/crontab: system-wide crontab I seriously doubt that. [...] > How very odd. > That isn't the content of /etc/crontab . Since it seems like you executed 'crontab -l' as root is seems like it is the crontab of the 'r

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Ron Leach
On 11/05/2014 11:43, Filip wrote: On Sun, 11 May 2014 10:37:31 +0100 Ron Leach wrote: I'm missing some aspect of cron configuration, or perhaps some other cron file somewhere. root doesn't have a /home directory, so there isn't a crontab in it, and the only user existing on the system doesn't

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Ron Leach
On 11/05/2014 10:48, Martin Steigerwald wrote: Look into - /etc/cron.d - crontab -l It would not make much sense, but maybe someone added a call to /etc/cron.hourly there. server4:/# crontab -l # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Filip
On Sun, 11 May 2014 10:37:31 +0100 Ron Leach wrote: > I'm missing some aspect of cron configuration, or perhaps some other > cron file somewhere. root doesn't have a /home directory, so there > isn't a crontab in it, and the only user existing on the system > doesn't have a crontab in its hom

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Andrei POPESCU
On Du, 11 mai 14, 10:37:31, Ron Leach wrote: > > I checked /etc/anacrontab in case it could be involved, it seems not to > contain any cron.hourly entries, nor entries at the relevant time: > > SHELL=/bin/sh > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin > > # These replace

Re: Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Martin Steigerwald
Am Sonntag, 11. Mai 2014, 10:37:31 schrieb Ron Leach: > List good morning, Hi Ron, > I do regret asking such a basic question about cron, but I cannot seem > to get rid of what I think is a mis-configured entry, somewhere. > > We have a server running Lenny (still), its role is solely to provide

Cron 101: Cron message "/bin/sh: root: command not found"

2014-05-11 Thread Ron Leach
List good morning, I do regret asking such a basic question about cron, but I cannot seem to get rid of what I think is a mis-configured entry, somewhere. We have a server running Lenny (still), its role is solely to provide a network file system. Every 17 mins past the hour, root is sending