10/10/2018, 00:19
Vấn đề chạy thường trú bằng PHP trên host CPANEL
Mình có bài tập như sau :
Server yêu cầu request trực tiếp lên server để lấy dữ liệu (chứ server ko chủ động gọi client để truyền dữ liệu ) ,và dữ liệu trên server cập nhật liên tục thường xuyên có khi vài giây là có dữ liệu mới.
Trên server có datbase chứa các Field : TENSINHVIEN , MSSV , TOAN ,VAN,ANH
Mình thử sử dụng cron job của host CPANEL nhưng bất tiện là chỉ gọi cron được có mỗi phút / lần (có nghĩa 1 phút mới có thể gọi lên server để lấy các dữ liệu thô chưa xử lý về ) trong khi cần lấy dữ liệu từ server về thường trực để xử lý lưu vào CSDL
Nghe nói PHP có hàm execute có thể chạy thường trú !??
Có ai tư vấn giúp mình , xin cám ơn
Server yêu cầu request trực tiếp lên server để lấy dữ liệu (chứ server ko chủ động gọi client để truyền dữ liệu ) ,và dữ liệu trên server cập nhật liên tục thường xuyên có khi vài giây là có dữ liệu mới.
Trên server có datbase chứa các Field : TENSINHVIEN , MSSV , TOAN ,VAN,ANH
Mình thử sử dụng cron job của host CPANEL nhưng bất tiện là chỉ gọi cron được có mỗi phút / lần (có nghĩa 1 phút mới có thể gọi lên server để lấy các dữ liệu thô chưa xử lý về ) trong khi cần lấy dữ liệu từ server về thường trực để xử lý lưu vào CSDL
Nghe nói PHP có hàm execute có thể chạy thường trú !??
Có ai tư vấn giúp mình , xin cám ơn
Bài liên quan
P/S: "thường trú" là từ VN được dịch từ thuật ngữ TSR - Terminate and Stay Resident. TRước khi dùng thuật ngữ này cần phải tìm hiểu nó là gì trước cái đã
The design industry standards as a basis for the design and monitoring of business outlets in specific circumstances, the best of the programmes of the highest cost performance monitoring, the design of the programme is the guiding ideology, is also the case design and the basic starting point Pursuit of the goal. Design of the main implementation of the "high quality" and "low-cost" two main lines to the design. According to fuel the overall situation and take full account of the actual situation at the scene monitoring front-end design uses low-speed color intelligent camera-Star-level high-definition color video camera surveillance, video transmission using high-interference shielding coaxial, and seven control Signal transmission for use with shielding, control and ensure the video signal and control signals in the accurate-central control system uses embedded hard disk video recording system, can achieve cycle of video and facilitate the seizure intervals. Long-distance transmission using ADSL transmission
[=========> Bổ sung bài viết <=========]
Bổ sung cái title của bác người Tàu :
City TU 100 7 Technology Co., Ltd.
[=========> Bổ sung bài viết <=========]
Bác tàu khựa làm ơn viết tiếng Anh hoặc tiếng Việt cho bọn em nhờ tí, kiểu này mệt quá, toàn trash+spam