How to automatically run a script at a specific time without a scheduler and without js purely in php?

  • without cron - you can use other demons, but on pure php - no way. - Alexxosipov
  • one
    Is that on the alarm clock. - KAGG Design
  • one
    The task should either work at the time it is needed, or someone should start it. there are no miracles here. And the programming language is nothing to do with. So if without cron and anything else, then run your script from the OS startup scripts and after that it will always remain in memory, sleeping on the sleep () command until needed. - Mike
  • @Mike, in php scripts, especially if they are hosted, there is a maximum running time. If the script runs too long, it is interrupted. Of course, the restriction can be disabled, but in this case it seems to me that we are talking about hosting. - user263096 6:36 pm
  • @ user263096 Time is limited for scripts that run from a web server. But in the usual configuration there are no restrictions on the running time of the scripts launched from the console and from the autorun script. The hoster can limit this separately, but I don’t have any data about the practice of what percentage - Mike

0