[Solved] Keep loading my script [duplicate]


You should use a cronjob.
Start by opening you terminal and run

crontab -e 

You may need to configure your crontab settings (default editor) if this is the first time you are using crontab. Now, in your editor, you have to call your php script like this: (it is set to be called each hour)

0 * * * * /path/to/php /path/to/your/script.php

You can also use an alias of hourly.

@hourly /path/to/php /path/to/your/script.php

2

solved Keep loading my script [duplicate]