ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comHost and DomainHost & Domain (general)Path ที่เราจะเอาไปใส่ในช่อง command ของ cron job เอามาจากไหนครับ?
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: Path ที่เราจะเอาไปใส่ในช่อง command ของ cron job เอามาจากไหนครับ?  (อ่าน 1371 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
takamura
คนรักเสียว
*

พลังน้ำใจ: 11
ออฟไลน์ ออฟไลน์

กระทู้: 171



ดูรายละเอียด
« เมื่อ: 02 พฤศจิกายน 2010, 13:21:57 »

ผมเห็นตรง tab option ของ wprobot ด้านล่างมันไม่ใช่หรือครับ Sad แล้วเาจะไปเอามาจากไหนครับ ผมใช้ host ของ host1free ครับ
บันทึกการเข้า
smapan
Global Moderator
เจ้าพ่อบอร์ดเสียว
*****

พลังน้ำใจ: 643
ออฟไลน์ ออฟไลน์

กระทู้: 8,272



ดูรายละเอียด เว็บไซต์
« ตอบ #1 เมื่อ: 02 พฤศจิกายน 2010, 13:22:56 »

ถาม support โฮสครับ
บันทึกการเข้า

จูมล่าโฮส สยามโฮสเว็บ modty.com
รวมที่พัก เช่ารายวัน ที่พักเช่ารายเดือนมากที่สุดแจ่มจริง
***Tel 083-757-1515 ติดปัญหา Joomla ตรงไหนรับปรึกษาฟรี โทรมาเถอะครับ ถ้าตอบได้ช่วยแน่นอน ไม่มีกั้ก. ***
allwa
สมุนแก๊งเสียว
*

พลังน้ำใจ: 48
ออฟไลน์ ออฟไลน์

กระทู้: 786



ดูรายละเอียด
« ตอบ #2 เมื่อ: 02 พฤศจิกายน 2010, 14:07:23 »

อ้างถึง
ถาม support โฮสครับ
ตามนั้นนะค่ะ  wanwan007
ไปตรงที่ hททp://www.host1free.com/forum/
สมัครสมาชิคก่อนค่อยโพสได้ค่ะ เดี๋ยวโหมดจะตอบเรื่องให้ค่ะ และดำเนินการให้
ใช้ภาษาอังกฤษนะค่ะ ตั้งกระทู้นะค่ะ
บันทึกการเข้า
takamura
คนรักเสียว
*

พลังน้ำใจ: 11
ออฟไลน์ ออฟไลน์

กระทู้: 171



ดูรายละเอียด
« ตอบ #3 เมื่อ: 02 พฤศจิกายน 2010, 17:09:33 »

thank you so much  wanwan017 wanwan017 ลืมถามไปครับ แล้วที่ไอ้ตัว program wprobot มันบอกมาตรงด้านล่างของหน้า option นะครับ มันไม่ใช่เหรอครับ เห็นมันเขียนว่า

Cron Url for this Weblog:
http://ชื่อเว็บผม/wp-content/plugins/WP-Robot 3.2/cron.php?code=xxxxxxxx

Sample Cron Command:
wget -O /dev/null http://ชื่อเว็บผม/wp-content/plugins/WP-Robot 3.2/cron.php?code=xxxxxxxx
« แก้ไขครั้งสุดท้าย: 02 พฤศจิกายน 2010, 17:14:25 โดย takamura » บันทึกการเข้า
takamura
คนรักเสียว
*

พลังน้ำใจ: 11
ออฟไลน์ ออฟไลน์

กระทู้: 171



ดูรายละเอียด
« ตอบ #4 เมื่อ: 03 พฤศจิกายน 2010, 13:03:25 »

แย่งกันตอบเชียว wanwan024 ไงครับ แล้วไอ้ที่ wprobot มันให้มามันไม่ใช่เหรอครับ วานผู้รู้ช่วยหน่อยหน่อยครับ แล้วอยากรู้อีกว่า
1. ถ้าเราจะให้ blog เรา post ทุกวัน ทุกเดือน ตามเวลาที่กำหนด cron job สามารถทำได้ปะครับ
2. file ไหนที่เราจะสั่้งให้มัน run ครับ ใช่ file cron.php ที่ wprobot มันให้มาหรือเปล่าครับ หรือว่าเป็น file อื่น
3. ที่เขาเรียกกันว่า path มันตั้งแต่ตรงไหน ถึง ไหนครับ ไม่รู้เรื่อง cron job เลยซักกะติ๊ดนะครับ
« แก้ไขครั้งสุดท้าย: 03 พฤศจิกายน 2010, 13:05:47 โดย takamura » บันทึกการเข้า
allwa
สมุนแก๊งเสียว
*

พลังน้ำใจ: 48
ออฟไลน์ ออฟไลน์

กระทู้: 786



ดูรายละเอียด
« ตอบ #5 เมื่อ: 03 พฤศจิกายน 2010, 14:18:46 »

ตามลิงค์เลยนะค่ะ wanwan007
ไม่ไหวแล้วครับ ช่วยสอน Cronjob ทีครับ!! งมมาอาทิตย์นึงละ

Cron Job เซ็ทไงครับ ( Directadmin )

การรัน Cron Job รันแบบ command line จะต้องรู้อะไรบ้าง

เปิด cronjob ใน localhost อย่างไง

บันทึกการเข้า
allwa
สมุนแก๊งเสียว
*

พลังน้ำใจ: 48
ออฟไลน์ ออฟไลน์

กระทู้: 786



ดูรายละเอียด
« ตอบ #6 เมื่อ: 03 พฤศจิกายน 2010, 14:30:23 »

How to Time Things in WordPress – Cron Job Plugin wanwan007

I was reading a comment online about the difficulty of doing Cron jobs. Cron jobs currently make sure *NIX programs run on time. Execution of programs – a complicated topic for a simple thing like scheduling events.

The problem is Cron – it’s a powerful program, and a lot of times all you want to do is run something approximately every 15 minutes, once a day, etc.

As well, some web hosts prevent cron jobs.

What’s a WordPress blogger to do?

So I sat down and wrote very simple plug-in. What you do is enter in a series of URLs, and a time. It then checks them by loading in the webpage or PHP code (or whatever the URL points to]), and you end up triggering whatever code is on that page.

You can download the WordPress cron plugin (Utopia Cron) here .

Installation is simple: download, unzip the utopia38.php file, upload it and activate. Go to Manage/U-Cron and enter the URL and timing info of the page(s) that you want loaded.

Then, as your blog pages are loaded, the program will visit each URL you entered in turn. Depending on what the page does, it may activate something, or just load.

    * For example the free banner ad program phpAdsNew/OpenAds requires the page maintenance.php to be loaded every hour – you would enter the full URL of the page on your system, specify a start time, and then a frequency of 1h – if the start time is 00:20, then you would check approximately at 00:20, 01:20, 02:20, etc.
    * Another example is WordPress blogging by email – you can set up your email account in the Options/Writing/Post subtab, but you need to load/view the wp-mail.php file to actually check for posts. Use this to check every few minutes, and emails will get posted easily (and you’re also avoid tying up resources by checking TOO often).

Note: after you enter a URL, test the page to make sure it loads properly, and view it to make sure you’re loading the right page. On WordPress blogs, if the page is wrong, you might get a 404 page, which is NOT an error from the plugin’s point of view.

So, give it a try see if it helps with your timed jobbies.

ที่มาค่ะ http://activeblogging.com/info/wordpress-cron-plugin/
บันทึกการเข้า
หน้า: [1]   ขึ้นบน
พิมพ์