Server with PHP Timer

Asked

Viewed 133 times

0

I would like to use PHP to run a monitoring server, which runs periodically (Ex: hour in hour) a check, but without relying on Cron or Task Scheduler, unless it is to "start" this PHP server, because thus, in addition to not getting stuck the platform, I can control in the application the configurations of schedules, periods, etc. Is there anything in that sense that I can use?

  • PHP does not persist, it needs to be called, I don’t think it is possible only with PHP.

  • I believe this can help you: https://answall.com/a/102890/33194 this ai project is a Nodejs task handler that can be used to trigger actions, for example, you can fire a PHP script with it. So you won’t get stuck on the platform.

  • I decided by providing a URL that triggers everything else. The only configuration is to put in CRON or Task Scheduler to achieve with CURL this url of 1 in 1 minute (CRON), or 5 and 5 minutes (Win). Only now will I need to control with bank the execution schedules hehehe

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.