public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Problem with vixie-cron
@ 2006-03-07 16:56 Thiago Lüttig
  2006-03-07 17:00 ` Michael Smith
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Thiago Lüttig @ 2006-03-07 16:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 450 bytes --]

Hi, i´m trying to automate a proccess with vixie-cron, so I edit the
/etc/crontab file, and after run crontab /etc/crontab, i look into the log
(/var/log/crond/current) and the following message apears: [cron] (*system*)
BAD FILE MODE (/etc/crontab)
and my task was not executed. What´s wrong ?

--
______________________________

Atenciosamente,
Thiago Lüttig

MSN: tluttig@hotmail.com
ICQ:   194392373
______________________________

[-- Attachment #2: Type: text/html, Size: 558 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with vixie-cron
  2006-03-07 16:56 [gentoo-user] Problem with vixie-cron Thiago Lüttig
@ 2006-03-07 17:00 ` Michael Smith
  2006-03-07 17:03 ` Dave Moore
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Michael Smith @ 2006-03-07 17:00 UTC (permalink / raw
  To: gentoo-user

Sounds like the permissions for /etc/crontab are too restrictive for cron to 
manage. Check those permissions...

Thiago Lüttig wrote:
> Hi, i´m trying to automate a proccess with vixie-cron, so I edit the 
> /etc/crontab file, and after run crontab /etc/crontab, i look into the 
> log (/var/log/crond/current) and the following message apears: [cron] 
> (*system*) BAD FILE MODE (/etc/crontab)
> and my task was not executed. What´s wrong ?
> 
> -- 
> ______________________________
> 
> Atenciosamente,
> Thiago Lüttig
> 
> MSN: tluttig@hotmail.com <mailto:tluttig@hotmail.com>
> ICQ:   194392373
> ______________________________
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with vixie-cron
  2006-03-07 16:56 [gentoo-user] Problem with vixie-cron Thiago Lüttig
  2006-03-07 17:00 ` Michael Smith
@ 2006-03-07 17:03 ` Dave Moore
  2006-03-07 17:04 ` Dave Nebinger
  2006-03-07 17:10 ` Michael Smith
  3 siblings, 0 replies; 5+ messages in thread
From: Dave Moore @ 2006-03-07 17:03 UTC (permalink / raw
  To: gentoo-user

>Hi, i´m trying to automate a proccess with vixie-cron, so I edit the
/etc/crontab file, and after >run crontab /etc/crontab, i look into
the log (/var/log/crond/current) and the following message >apears:
[cron] (*system*) BAD FILE MODE (/etc/crontab)
>and my task was not executed. What´s wrong ?

Can you do crontab -e and post the crontab entry in question?

Dave

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d-(+) s+: a24 C++ UBL++ P+>+++ L++ E--- W+++$ N+ o? K? w O? M-- V?
!PS !PE Y PGP- t++ 5++ X+ R+++ tv+ b++ DI++++ D++ G e+ h-- r++ y+
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with vixie-cron
  2006-03-07 16:56 [gentoo-user] Problem with vixie-cron Thiago Lüttig
  2006-03-07 17:00 ` Michael Smith
  2006-03-07 17:03 ` Dave Moore
@ 2006-03-07 17:04 ` Dave Nebinger
  2006-03-07 17:10 ` Michael Smith
  3 siblings, 0 replies; 5+ messages in thread
From: Dave Nebinger @ 2006-03-07 17:04 UTC (permalink / raw
  To: gentoo-user

Thiago Lüttig wrote:
> Hi, i´m trying to automate a proccess with vixie-cron, so I edit the 
> /etc/crontab file, and after run crontab /etc/crontab, i look into the 
> log (/var/log/crond/current) and the following message apears: [cron] 
> (*system*) BAD FILE MODE (/etc/crontab)
> and my task was not executed. What´s wrong ?

First you do not want to put it into /etc/crontab.  Edit a file in your 
local directory.

Often it is better to "crontab -l > local.crontab" or some such so the 
file is populated with your current crontab entries, then edit it to add 
your new entry.

Finish that off by "crontab local.crontab" to get the addition loaded.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Problem with vixie-cron
  2006-03-07 16:56 [gentoo-user] Problem with vixie-cron Thiago Lüttig
                   ` (2 preceding siblings ...)
  2006-03-07 17:04 ` Dave Nebinger
@ 2006-03-07 17:10 ` Michael Smith
  3 siblings, 0 replies; 5+ messages in thread
From: Michael Smith @ 2006-03-07 17:10 UTC (permalink / raw
  To: gentoo-user

oh right -- no need to run 'crontab /etc/crontab' with vixie-cron

just do crontab -e to edit and you're done.


Thiago Lüttig wrote:
> Hi, i´m trying to automate a proccess with vixie-cron, so I edit the 
> /etc/crontab file, and after run crontab /etc/crontab, i look into the 
> log (/var/log/crond/current) and the following message apears: [cron] 
> (*system*) BAD FILE MODE (/etc/crontab)
> and my task was not executed. What´s wrong ?
> 
> -- 
> ______________________________
> 
> Atenciosamente,
> Thiago Lüttig
> 
> MSN: tluttig@hotmail.com <mailto:tluttig@hotmail.com>
> ICQ:   194392373
> ______________________________
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-07 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-07 16:56 [gentoo-user] Problem with vixie-cron Thiago Lüttig
2006-03-07 17:00 ` Michael Smith
2006-03-07 17:03 ` Dave Moore
2006-03-07 17:04 ` Dave Nebinger
2006-03-07 17:10 ` Michael Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox