ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Denis S. Kostin" <admin@3436.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Запуск PHP скрипта с коммандной строки
Date: Mon, 28 Apr 2008 21:42:05 +0400
Message-ID: <261915240.20080428214205@3436.ru> (raw)

Здравствуйте, ALT.

Вот на такую вещь наткнулся,
имеется скрипт на PHP из браузера великолепно работает, нужно
запускать его по крону, но он абсолютно не желает работать причем не
выдавая никаких ошибок... пробовал с коммандной стоки эффект тот же
скрипт начинается
#!/usr/bin/php -q
<?
set_time_limit(0); 
ignore_user_abort(1);
......
......
?>
поидее должно работать и на старом сервере работало
(что за ось там стояла незнаю но точно что апач 1 и PHP4)
здеся APACHE2 b PHP5, может кто сталкивался?
Заранее благодарен.

-- 
С уважением,
 Denis                          mailto:admin@3436.ru




             reply	other threads:[~2008-04-28 17:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 17:42 Denis S. Kostin [this message]
2008-04-28 18:07 ` leo
2008-04-28 18:18   ` Denis S. Kostin
2008-04-28 18:50     ` leo
2008-04-28 19:36       ` Denis S. Kostin
2008-04-28 20:00 ` Konstantin A. Lepikhov
2008-04-29 17:28   ` Denis S. Kostin

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=261915240.20080428214205@3436.ru \
    --to=admin@3436.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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