Path ที่เราจะเอาไปใส่ในช่อง command ของ cron job เอามาจากไหนครับ?

เริ่มโดย takamura, 02 พฤศจิกายน 2010, 13:21:57

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

takamura

ผมเห็นตรง tab option ของ wprobot ด้านล่างมันไม่ใช่หรือครับ :( แล้วเาจะไปเอามาจากไหนครับ ผมใช้ host ของ host1free ครับ

smapan

[direct=http://cp.siamhostweb.com/cart.php?gid=1]จูมล่าโฮส สยามโฮสเว็บ[/direct] [direct=http://www.modty.com]modty.com[/direct]
[direct=http://www.apartment.in.th]รวมที่พัก เช่ารายวัน ที่พักเช่ารายเดือนมากที่สุดแจ่มจริง[/direct]
***Tel 083-757-1515 ติดปัญหา Joomla ตรงไหนรับปรึกษาฟรี โทรมาเถอะครับ ถ้าตอบได้ช่วยแน่นอน ไม่มีกั้ก. ***

allwa

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

takamura

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

takamura

แย่งกันตอบเชียว :wanwan024: ไงครับ แล้วไอ้ที่ wprobot มันให้มามันไม่ใช่เหรอครับ วานผู้รู้ช่วยหน่อยหน่อยครับ แล้วอยากรู้อีกว่า
1. ถ้าเราจะให้ blog เรา post ทุกวัน ทุกเดือน ตามเวลาที่กำหนด cron job สามารถทำได้ปะครับ
2. file ไหนที่เราจะสั่้งให้มัน run ครับ ใช่ file cron.php ที่ wprobot มันให้มาหรือเปล่าครับ หรือว่าเป็น file อื่น
3. ที่เขาเรียกกันว่า path มันตั้งแต่ตรงไหน ถึง ไหนครับ ไม่รู้เรื่อง cron job เลยซักกะติ๊ดนะครับ


allwa

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/