1
I have a php file that sends information to:
http://air.radiotime.com/Playing.ashx?partnerId=PARTNERID&partnerKey=PARTNERKEY&id=ID&title=MUSICA&artist=ARTISTA
However, it only sends information when I reload the page, is there any way to make it automatic without me having to be on the site? That is, working alone.
There are a million ways, one of them is to use
while(1=1)
and give aignore_user_abort(true)
. Another is using cronjob... To define which is the best will depend on the objective of this (and if you have reason to do so), anyway, without details can not inform.– Inkeliz
If the machine is linux, a simple suggestion is the creation and a cron job that would call this PHP script every period you specify.
– mrlew
I find it feasible to use a cron job
– tkmtts
I used cron job, it worked.
– Paulo Sérgio Filho