Cron Job command to run URL

The other advantage of using curl is that you also can keep the HTTP way of sending parameters to your script if you need to, by using $_GET$_POST etc like this:

*/15 * * * * curl --request GET 'https://exemple.com/path/check.php'

ที่มา https://stackoverflow.com/questions/11375260/cron-command-to-run-url-address-every-5-minutes

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

ทำอย่างไรดี ให้เว็บไซต์ค้นหาเจอใน google

ในการที่เรามีเว็บไซต์แล้วนั้นจะต้องรอทาง Google เข้ามาที่หน้าเว็บไซต์เราเองก่อนค่ะ ระยะเวลาประมาณ...

ขยาย iframe อัตโนมัติตามเนื้อหา

ขยาย iframe อัตโนมัติตามเนื้อหา <script language="JavaScript"> function...

HTTP Error ต่างๆ หมายถึงอะไร

400 - Bad Request  : ไม่สามารถแสดงผลตามที่ต้องการได้ เกิดจากกำหนด URL ไม่ถูกต้อง  401...

การตั้งค่า Flash Streaming

การตั้งค่า Flash Streaming ขั้นตอนการติดตั้งระบบ Flash Encoder...

ย้าย Server เปลี่ยน Link ใหม่

 คงมีหลายๆ คนเจอปัญหาเกี่ยวกับการย้าย Server เช่นเดิมเก็บข้อมูล HTML ไว้ที่...