Re: Crontab doesn't run jobs
- From: VP <telodico@xxxxxxx>
- Date: Mon, 01 Dec 2008 01:10:01 +0100
Jean-David Beyer ha scritto:
VP wrote:I usually put on my debian systems an auto poweroff entry with
crontab -e
30 18 * * * /sbin/poweroff
as root. crond is running, but at the time specified nothing happens.
what can be?
You want it to shutdown your machine at 6:30PM everyday? I assume you do.
Were you logged in as root when you did that? What does /var/spool/cron look like (i.e, ls -l /var/spool/cron)?
man poweroff ?
18:30 was just an example, it's a small samba share server that should turn off on 20:00.
Yes, i did it as root, also tried to create /etc/cron.allow with ALL, but nothing.
I tried also to change different simple commands, as touch /tmp/example or something. So it seems any job wouldn't start.
I have also enabled logging but seems it logs just my crontab -e edits
ls -l /var/spool/cron returns:
drwxrwx--T 2 daemon daemon 24 2008-11-30 16:07 atjobs
drwxrwx--T 2 daemon daemon 8 2008-11-29 19:36 atspool
drwx-wx--T 2 root crontab 4096 2008-12-01 00:45 crontabs
.
- Follow-Ups:
- Re: Crontab doesn't run jobs
- From: Jean-David Beyer
- Re: Crontab doesn't run jobs
- References:
- Crontab doesn't run jobs
- From: VP
- Re: Crontab doesn't run jobs
- From: Jean-David Beyer
- Crontab doesn't run jobs
- Prev by Date: Re: Crontab doesn't run jobs
- Next by Date: Re: Crontab doesn't run jobs
- Previous by thread: Re: Crontab doesn't run jobs
- Next by thread: Re: Crontab doesn't run jobs
- Index(es):
Relevant Pages
|