Re: [DNG] cron runs a ghost command

2022-06-05 Thread Antony Stone
On Sunday 05 June 2022 at 14:02:36, Haines Brown wrote:

> I find that user's cron runs a command defined in crontab -e some time
> ago but then removed. At present there is no command defined in $
> crontab -e.

What does "crontab -l" (as the user) or "crontab -u [username] -l" (as root) 
tell you?

> Nevertheless cron runs the old command one on schedule.

What does root find in /var/spool/cron/crontabs?

If there's a file named for the user in question there, what does cat show you 
is in it?


Antony.

-- 
"Can you keep a secret?"
"Well, I shouldn't really tell you this, but... no."


   Please reply to the list;
 please *don't* CC me.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] cron runs a ghost command

2022-06-05 Thread Haines Brown
I find that user's cron runs a command defined in crontab -e some time 
ago but then removed. At present there is no command defined in $ 
crontab -e. Nevertheless cron runs the old command one on schedule.

I should add the the old command is no longer val;lid (it points to a 
non-existent directory). Is cron designed to retry failed commands? If 
so how do I get it to stap?  

My problem arise when I want a user run a command to /media/daily. But 
I could not create the daily directory owned by user. Something to do 
with group. I was able to change owner of /media/crom to user for some 
reason.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng