Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Сошел ли я с ума???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Xelainis
n00b
n00b


Joined: 24 Jan 2003
Posts: 33
Location: Russian Federation

PostPosted: Thu Nov 20, 2003 9:37 am    Post subject: Сошел ли я с ума??? Reply with quote

Что-то я, кажется, совсем ничего не понимаю.
Есть у меня достаточно установок Gentoo и все везде было
прекрасно.
Но вот, добавился еще один серверочек. На нем тоже установлен
Gentoo, точно такой же как и на других машинах.
И вот что я никак не пойму:
cron почему-то на этой машине не выполняет пользовательские
задания.
Т.е. к примеру, делаю crontab -e -u someuser
Добавляю строку
10 12 * * * echo test | /usr/lib/sendmail -f my@adress my@address

Выжидаю... Подходит время выполнения, но(!) задание не выполняется.
В логах даже не видно, что cron попытался его выполнить.

Та же самая строка добавленая в /etc/crontab выполняется.
Так же строка в /etc/crontab с у казанием в качестве пользователя,
от которого запускать задание, someuser -- не выполняется.

Хотя на других машинах все всегда было ОК.

Вот и где я чего промахнулся?
Back to top
View user's profile Send private message
Urs
n00b
n00b


Joined: 25 Aug 2003
Posts: 72
Location: Russia, SPb

PostPosted: Thu Nov 20, 2003 10:55 pm    Post subject: Reply with quote

Попробуй собрать крон с поддержкой DEBUGGING,
тогда его можно будет пускать c флагом -x:

Code:

-x debugflag [,...]
    Enable writing of debugging information to standard output. One or more of the following comma separated debugflag identifiers must be specified:

bit       currently not used    
ext       make the other debug flags more verbose    
load       be verbose when loading crontab files    
misc       be verbose about miscellaneous one-off events    
pars       be verbose about parsing individual crontab lines    
proc       be verbose about the state of the process, including all of its offspring    
sch    be verbose when iterating through the scheduling algorithms    
test    trace through the execution, but do not perform any actionsny actions
Back to top
View user's profile Send private message
Alarik
n00b
n00b


Joined: 06 Nov 2003
Posts: 24

PostPosted: Fri Nov 21, 2003 7:16 am    Post subject: Reply with quote

А сам cron запущен?
Возможно ты забыл добавить его.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum