From: Slava Dubrovskiy <slava@elan.com.ua> Cc: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] вопрос пр crontab Date: Thu, 20 Apr 2006 14:58:59 +0300 Message-ID: <44477783.8090900@elan.com.ua> (raw) In-Reply-To: <444771E6.5060402@mail.ru> 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 >> > это что значит ? > передвыполнением команды каталог сменить? > Да. В старых версиях это помогало. -- С уважением, Дубровский Вячеслав.
next prev parent reply other threads:[~2006-04-20 11:58 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-04-20 10:40 Vitaly Gorshkov 2006-04-20 10:45 ` Slava Dubrovskiy 2006-04-20 11:35 ` Vitaly Gorshkov 2006-04-20 11:58 ` Slava Dubrovskiy [this message] 2006-04-20 13:19 ` Vitaly Gorshkov 2006-04-24 10:43 ` Vitaly Gorshkov
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=44477783.8090900@elan.com.ua \ --to=slava@elan.com.ua \ --cc=community@lists.altlinux.org \ /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