need to know

สำหรับผู้ที่ เริ่มต้น Programming - PHP มีอะไร แนะนำ หรือข้อสงสัยต้องบอร์ด นี้ น่ะค่ะ คนที่มีความรู้ แบ่งปันคนอื่นบ้างนะ

Moderator: phpbb, mindphp, ผู้ดูแลกระดาน

ตอบกลับโพส
martinscott
phpBBThailand Newbie
phpBBThailand Newbie
โพสต์: 1
ลงทะเบียนเมื่อ: 28 ส.ค. 2009, 10:24

need to know

โพสต์ โดย martinscott »

hi i installed a kt 354 community edition in a debian etch machine

I need to set the scheduler.php under cron so i do:

crontab -e
add the line */5 * * * * /opt/ktdms/knowledgeTree/bin/scheduler.php > /dev/null

i save it and with crontab -l i see it

checking on syslog i see that cron call the scheduler.php every 5 minutes, but it doesn't do anything (the log kt2008-10-30.root.log.txt under /opt/ktdms/var/log is empty)

i try to change the line on crontab with
*/5 * * * * /opt/ktdms/php/bin/php /opt/ktdms/knowledgeTree/bin/scheduler.php > /dev/null

with no luck

how i can set the cron for scheduler.php?
sazukia007
phpBBThailand Super Hero Member
phpBBThailand Super Hero Member
โพสต์: 747
ลงทะเบียนเมื่อ: 19 ม.ค. 2009, 21:53

Re: need to know

โพสต์ โดย sazukia007 »

php3 or php2
ตอบกลับโพส

ย้อนกลับไปยัง

ผู้ใช้งานขณะนี้

กำลังดูบอร์ดนี้: 195 และ บุคคลทั่วไป 0 ท่าน