ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] вопрос пр crontab
@ 2006-04-20 10:40 Vitaly Gorshkov
  2006-04-20 10:45 ` Slava Dubrovskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Vitaly Gorshkov @ 2006-04-20 10:40 UTC (permalink / raw)
  To: ALT Linux Community

в crontab добавлена строчка:
*/30 * * * * root /usr/sbin/lightparser.pl
каждые 30 минут запускать /usr/sbin/lightparser.pl

 ls -l /usr/sbin/lightparser.pl
-rwxr-xr-x  1 root root 10921 Dec  6 11:28 /usr/sbin/lightparser.pl

а результатов не вижу.



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

* Re: [Comm] вопрос пр crontab
  2006-04-20 10:40 [Comm] вопрос пр crontab Vitaly Gorshkov
@ 2006-04-20 10:45 ` Slava Dubrovskiy
  2006-04-20 11:35   ` Vitaly Gorshkov
  0 siblings, 1 reply; 6+ messages in thread
From: Slava Dubrovskiy @ 2006-04-20 10:45 UTC (permalink / raw)
  To: ALT Linux Community

Vitaly Gorshkov пишет:
> в crontab добавлена строчка:
> */30 * * * * root /usr/sbin/lightparser.pl
> каждые 30 минут запускать /usr/sbin/lightparser.pl
>
>  ls -l /usr/sbin/lightparser.pl
> -rwxr-xr-x  1 root root 10921 Dec  6 11:28 /usr/sbin/lightparser.pl
>
> а результатов не вижу.
>   
Версия lightsquid какая?

cd /var/www/html/lightsquid/
/usr/sbin/lightparser.pl

-- 
С уважением,
Дубровский Вячеслав.



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

* Re: [Comm] вопрос пр crontab
  2006-04-20 10:45 ` Slava Dubrovskiy
@ 2006-04-20 11:35   ` Vitaly Gorshkov
  2006-04-20 11:58     ` Slava Dubrovskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Vitaly Gorshkov @ 2006-04-20 11:35 UTC (permalink / raw)
  To: slava, ALT Linux Community

Slava Dubrovskiy пишет:
> Vitaly Gorshkov пишет:
>   
>> в crontab добавлена строчка:
>> */30 * * * * root /usr/sbin/lightparser.pl
>> каждые 30 минут запускать /usr/sbin/lightparser.pl
>>
>>  ls -l /usr/sbin/lightparser.pl
>> -rwxr-xr-x  1 root root 10921 Dec  6 11:28 /usr/sbin/lightparser.pl
>>
>> а результатов не вижу.
>>   
>>     
> Версия lightsquid какая?
>   


 rpm -qa|grep lightsquid
lightsquid-1.6-alt0.0.beta.M24.1

> cd /var/www/html/lightsquid/
> /usr/sbin/lightparser.pl
>
>   
это что значит ?
передвыполнением команды каталог сменить?

когда ручками запускаю - то все ок - информация обновляется.


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

* Re: [Comm] вопрос пр crontab
  2006-04-20 11:35   ` Vitaly Gorshkov
@ 2006-04-20 11:58     ` Slava Dubrovskiy
  2006-04-20 13:19       ` Vitaly Gorshkov
  2006-04-24 10:43       ` Vitaly Gorshkov
  0 siblings, 2 replies; 6+ messages in thread
From: Slava Dubrovskiy @ 2006-04-20 11:58 UTC (permalink / raw)
  Cc: ALT Linux Community

Vitaly Gorshkov пишет:
>>> в crontab добавлена строчка:
>>> */30 * * * * root /usr/sbin/lightparser.pl
>>> каждые 30 минут запускать /usr/sbin/lightparser.pl
>>>
>>>  ls -l /usr/sbin/lightparser.pl
>>> -rwxr-xr-x  1 root root 10921 Dec  6 11:28 /usr/sbin/lightparser.pl
>>>
>>> а результатов не вижу.
>>>   
>>>     
>>>       
>> Версия lightsquid какая?
>>   
>>     
>  rpm -qa|grep lightsquid
> lightsquid-1.6-alt0.0.beta.M24.1
>   
Честно говоря, я в backports lightsquid не делал, поэтому не знаю что
там. Но в том, что в сизифе (можешь безболезненно обновить) есть изменения:
1. Он запускается от отдельного пользователя lightsquid (hint:
пользователь и окружение под которым работает cron и под которым ты
запускаешь могут отличаться)
3. Если не работает, поставь $debug = 1; в lightsquid.cfg и посмотри.
>> cd /var/www/html/lightsquid/
>> /usr/sbin/lightparser.pl  
>>     
> это что значит ?
> передвыполнением команды каталог сменить?
>   
Да. В старых версиях это помогало.

-- 
С уважением,
Дубровский Вячеслав.



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

* Re: [Comm] вопрос пр crontab
  2006-04-20 11:58     ` Slava Dubrovskiy
@ 2006-04-20 13:19       ` Vitaly Gorshkov
  2006-04-24 10:43       ` Vitaly Gorshkov
  1 sibling, 0 replies; 6+ messages in thread
From: Vitaly Gorshkov @ 2006-04-20 13:19 UTC (permalink / raw)
  To: slava, ALT Linux Community

>
>>> cd /var/www/html/lightsquid/
>>> /usr/sbin/lightparser.pl  
>>>     
>>>       
>> это что значит ?
>> передвыполнением команды каталог сменить?
>>   
>>     
> Да. В старых версиях это помогало.
>   

сделал
*/30 * * * * root cd /var/www/html/lightsquid/ % /usr/sbin/lightparser.pl

толку нет.
я так понимаю, что тут /var/log/cron/ должно же что то быть ???
а его нету.



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

* Re: [Comm] вопрос пр crontab
  2006-04-20 11:58     ` Slava Dubrovskiy
  2006-04-20 13:19       ` Vitaly Gorshkov
@ 2006-04-24 10:43       ` Vitaly Gorshkov
  1 sibling, 0 replies; 6+ messages in thread
From: Vitaly Gorshkov @ 2006-04-24 10:43 UTC (permalink / raw)
  To: slava, ALT Linux Community


> Честно говоря, я в backports lightsquid не делал, поэтому не знаю что
> там. Но в том, что в сизифе (можешь безболезненно обновить) есть изменения:
> 1. Он запускается от отдельного пользователя lightsquid (hint:
> пользователь и окружение под которым работает cron и под которым ты
> запускаешь могут отличаться)
>   

этот?
ftp://ftp.altlinux.ru:21/pub/distributions/ALTLinux/Sisyphus/files/noarch/RPMS/lightsquid-1.6-alt1.beta.noarch.rpm


я его установлю rpm -Uhv lightsquid-1.6-alt1.beta.noarch.rpm  ?
я с сизифом дело пока не имею.


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

end of thread, other threads:[~2006-04-24 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-20 10:40 [Comm] вопрос пр crontab Vitaly Gorshkov
2006-04-20 10:45 ` Slava Dubrovskiy
2006-04-20 11:35   ` Vitaly Gorshkov
2006-04-20 11:58     ` Slava Dubrovskiy
2006-04-20 13:19       ` Vitaly Gorshkov
2006-04-24 10:43       ` Vitaly Gorshkov

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