cron - Alternative to the sleep command in PHP -


i want display position of selection of boats on page using google maps , php. receive position data use winlink api, specific boat (by callsign) position data returned via rss.

once per day, cron-job runs script, position 1 boat after requested , saved.

there sort of request limit , don't want overuse winlink server, have spread requests on time. currently, use sleep command in php, more boats, i'm facing issues max. execution time on host. use set_time_limit, thats temporary solution.

i thought using separate cron per boat, unfortunately have access server via imscp (a browser-based config) can add/edit cron-jobs manually, , list of boats should editable via php, don't know how many boats there might in future.

is there better way want?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -