Is it possible to embed cron into a website?

The problem is this.

  1. Periodic run of php script is needed.
  2. The hoster has the cron, but it does not work, and technical support itself does not know how to manage it and does not allow errors to be logged. That is, it is not even clear where the request is wrong.

Is it possible to embed the utility bypassing the hoster, i.e. to the site itself?

Answer 1

Cron is a separate program on the server, but you can call php scripts from a remote computer by installing cron on it. Just then you need to add the line to the cron:

/usr/bin/wget -O - -q -t 1 >/dev/null ( )

And set the required frequency