creating schedule task without Cron job

前端 未结 5 1270
野趣味
野趣味 2020-12-30 17:29

Scheduled task needs to be created but its not possible to use Cron job (there is a warning from hosting provider that \"running the cron Job more than once within a 45-minu

5条回答
  •  囚心锁ツ
    2020-12-30 17:56

    There are multiple ways of doing repetitive jobs. Some of the ways that I can think about right away are:

    1. Using: https://www.setcronjob.com/

    Use an external site like this to fire off your url at set intervals

    1. Using meta refresh. More here. You'd to have to open the page and leave it running.

    2. Javascript/Ajax refresh. Similar to the above example.

    3. Setting up a cron job. Most shared hosting do provide a way to set up cron jobs. Have a look at the cPanel of your hosting.

提交回复
热议问题