ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Fedor  Sumkin" <altcommunity@mail.ru>
To: community@altlinux.ru
Subject: Re[2]: [Comm] cron trables
Date: Thu, 05 Jun 2003 15:05:43 +0400
Message-ID: <E19NsYx-000Kv4-00.altcommunity-mail-ru@f11.mail.ru> (raw)
In-Reply-To: <3EDEF312.1020801@symmetron.msk.ru>

 
>  
> Fedor Sumkin пишет: 
>  
> >  
> >необходимо добавить в крон задание от рута -   
> >в /etc/crontab прописываю   
> >20 10 * * * root /bin/shutdown -h now  
> >далее   
> >service crond restart  
> >Но в положеное время задание не выполняется, что не так?  
> >  
> >   
> > 
>  
>  
> 1. Лучше делайте в стиле SystemV (для Linux так привычней) 
>  
> crontab -u root -e 
> (открывается в редакторе vi) 
> имя пользователя указывать не надо - 
> (стиль SystemV - у каждого пользователя свой файл с заданиями) 
> Результат посмотрите (только чтение) в /var/spool/cron 
> Рестарт crond не требуется (если редактируете "штатным" инструментом). 
>  
> 2. Передаваемые команде параметры могут вызвать проблемы. 
> "Закатывайте" команду с параметрами в shell script и запускайте "одним  
> словом". 
ок, поступаем ака длктор прописал :) : 
#crcrontab -u root -e 
прописываем  
00 15 * * * /sbin/shutdown 
 
crontab: installing new crontab 
# 
Результата никакого! 
в /var/spool/cron/root 
00 15 * * * /sbin/shutdown 
в чём проблема??? 
 


  reply	other threads:[~2003-06-05 11:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-05  6:53 Fedor  Sumkin
2003-06-05  7:31 ` Andrew Borodin
2003-06-05  7:36 ` Владимир
2003-06-05 11:05   ` Fedor  Sumkin [this message]
2003-06-05 15:02     ` Re[3]: " ASA
2003-06-05 21:20       ` Andrey Golovin
2003-06-06  5:12       ` Re[4]: " Fedor  Sumkin
2003-06-06  4:10     ` BSW
2003-06-05  7:37 ` Andrey Golovin
2003-06-05  7:57 ` Евгений В. Хорохорин

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E19NsYx-000Kv4-00.altcommunity-mail-ru@f11.mail.ru \
    --to=altcommunity@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git