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.


--
[email protected] mailing list

Reply via email to